Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stage 1/3 Installation Support - 2005.0 & GCC 3.4.3
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 21, 22, 23, 24  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Wed Jun 15, 2005 9:08 pm    Post subject: Reply with quote

:arrow: Problems Setting Hostname & Domainname

the new stable branch versions of baselayout have deprecated the use of /etc/hostname and /etc/dnsdomainname in favor of /etc/conf.d/hostname and /etc/conf.d/domainname. if you install/update to sys-apps/baselayout-1.11.12-r4 or later and you've used the deprecated /etc/hostname and /etc/dnsdomainname methods, you'll notice boot warnings. you can make them go away by following the second set of examples in Section 10.2 of the Stage 1/3 Guide.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minneapolis, MN

PostPosted: Mon Jun 20, 2005 10:16 pm    Post subject: Reply with quote

I am just wondering how you do not emerge 3.4.4 when you are trying to do a 3.4.3 install.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Tue Jun 21, 2005 1:40 am    Post subject: Reply with quote

zecora wrote:
I am just wondering how you do not emerge 3.4.4 when you are trying to do a 3.4.3 install.


Both 3.4.4 and 3.4.3 are masked ~x86. In the guide it has you unmasking a version of 3.4.3. So unless your /etc/make.conf has ACCEPT_KEYWORDS="~x86" 3.4.3 will be the only version installed.

And if you do happen to have ACCEPT_KEYWORDS="~x86" in make.conf then you can use the file /etc/portage/package.mask to mask the 3.4.4 versions.
Back to top
View user's profile Send private message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minneapolis, MN

PostPosted: Tue Jun 21, 2005 12:52 pm    Post subject: Reply with quote

slycordinator wrote:
zecora wrote:
I am just wondering how you do not emerge 3.4.4 when you are trying to do a 3.4.3 install.


Both 3.4.4 and 3.4.3 are masked ~x86. In the guide it has you unmasking a version of 3.4.3. So unless your /etc/make.conf has ACCEPT_KEYWORDS="~x86" 3.4.3 will be the only version installed.

And if you do happen to have ACCEPT_KEYWORDS="~x86" in make.conf then you can use the file /etc/portage/package.mask to mask the 3.4.4 versions.


So what do i need to do in /etc/portage/package.mask, becuase i just tried to do a 3.4.3 installed and after gcc emerged i did gcc-config -l and 3.4.4 came up.

In my make.conf i have ACCEPT_KEYWORDS="~x86", So i am still new to this what do i need to do.
Back to top
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Tue Jun 21, 2005 1:25 pm    Post subject: Reply with quote

Don't use the global ACCEPT_KEYWORDS="~x86" in your make.conf, accept the keyword on a package by package basis by setting up a /etc/portage/package.keywords file. Add these lines to the file:
Code:
~sys-devel/gcc-3.4.3.20050110 ~x86
sys-devel/gcc-config ~x86
sys-libs/libstdc++-v3 ~x86
sys-libs/glibc ~x86
This will emerge all versions of gcc with the ~x86 keyword up to gcc 3.4.3.20050110 (the latest version of gcc 3.4.3 in portage) but allow for bugfix revisions (i.e. r1, r2, r3). The other lines handle the other toolchain packages that you need to use gcc 3.4.3.
_________________
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Tue Jun 21, 2005 2:54 pm    Post subject: Reply with quote

A personal message came along today:
Lord Vader wrote:
:D GREETINGS

I hope your installation guide would have Reiser4 file system as a part of it for users to use... Could you please edit your installation guide and make the Reiser4 as a choice for the users to use it? Please do reply if your free to reply...

Thank you,

Lord Vader.:D


Since this is a recurring theme, I thought I'd post a link to where this question has already been answered:

https://forums.gentoo.org/viewtopic-t-314985-start-0.html


:arrow: Reiser 4 - Unsupported: https://forums.gentoo.org/viewtopic-t-299646-start-51.html

for those of you who are presumptuous enough to make personalized demands asking that the Guide be rewritten to provide Reiser 4 support to suit your individual preferences, please understand that Reiser 4 is unsupported because it is not sufficiently reliable to pass muster for inclusion in the Guide. :wink:

insofar as this information about Reiser 4's unsatisfactory performance is already present in the Support Threads, please bother to read this thread instead of sending me PMs and asking me for personalized support. that would be less embarassing.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Tue Jun 21, 2005 3:11 pm    Post subject: Reply with quote

zecora wrote:
I am just wondering how you do not emerge 3.4.4 when you are trying to do a 3.4.3 install.


the answer to this question is: "Follow the Guide exactly as it is written."

as others have already mentioned, its best NOT to globally enable the testing branch, and its best to enable the testing branch on a per-package basis using package.keywords, like i've done in the Guide.

if you review the Stage 1/3 Guide for GCC 3.4.3 as it is written, the instructions are clear about exactly what needs to be done. since the information on exactly how to do the masking for GCC 3.4.3 and GCC 3.4.4 is already spelled out in detail in the GCC 3.4.3 and GCC 3.4.4 versions of the Stage 1/3 Guide, I'm assuming that you've taken the time to read and compare them already, and that your question pertains to the "atom" syntax used in package.keywords. you have already compared the masking techniques in both versions of the Guide, right?

3.4.3
Code:
# cat /etc/portage/package.keywords

# for a 586 CHOST
~sys-devel/gcc-3.4.3.20050110 ~x86
sys-devel/gcc-config ~x86
sys-libs/libstdc++-v3 ~x86
~sys-libs/glibc-2.3.4.20050125 ~x86


3.4.3
Code:
# cat /etc/portage/package.keywords

# for a 686 CHOST:
~sys-devel/gcc-3.4.3.20050110 ~x86
sys-devel/gcc-config ~x86
sys-libs/libstdc++-v3 ~x86
sys-libs/glibc ~x86


3.4.4
Code:
# cat /etc/portage/package.keywords

~sys-devel/gcc-3.4.4 ~x86
sys-devel/gcc-config ~x86
sys-libs/libstdc++-v3 ~x86
sys-libs/glibc ~x86

_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
whitesouls
Guru
Guru


Joined: 19 Nov 2004
Posts: 358
Location: In Front of My Laptop

PostPosted: Tue Jun 21, 2005 4:25 pm    Post subject: Reply with quote

Bob P wrote:
A personal message came along today:
Lord Vader wrote:
:D GREETINGS

I hope your installation guide would have Reiser4 file system as a part of it for users to use... Could you please edit your installation guide and make the Reiser4 as a choice for the users to use it? Please do reply if your free to reply...

Thank you,

Lord Vader.:D


Since this is a recurring theme, I thought I'd post a link to where this question has already been answered:

https://forums.gentoo.org/viewtopic-t-314985-start-0.html


:arrow: Reiser 4 - Unsupported: https://forums.gentoo.org/viewtopic-t-299646-start-51.html

for those of you who are presumptuous enough to make personalized demands asking that the Guide be rewritten to provide Reiser 4 support to suit your individual preferences, please understand that Reiser 4 is unsupported because it is not sufficiently reliable to pass muster for inclusion in the Guide. :wink:

insofar as this information about Reiser 4's unsatisfactory performance is already present in the Support Threads, please bother to read this thread instead of sending me PMs and asking me for personalized support. that would be less embarassing.


:oops: Sorry...
_________________
whitesouls

Please insert the [SOLVED] tag if your problem is solved in your respective thread.
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Tue Jun 21, 2005 6:03 pm    Post subject: Reply with quote

its nothing personal -- i'm just really tired of people who PM me and ask for personalized responses instead of reading what's already written in the support threads.

if you really want Reiser 4, follow those links that i posted. they'll take you to a special live CD that you have to use to perform a Reiser 4 install with the Guide. some people have reported good results, but if you choose to use it, remember that we don't support it. have fun.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
the_gummibear
n00b
n00b


Joined: 18 May 2005
Posts: 26
Location: Belgium

PostPosted: Tue Jun 21, 2005 10:44 pm    Post subject: problem while emerging system Reply with quote

hey

i have a small problem while doing "emerge --emptytree system" during install..

i have an error while he's busy with ncurses

ERROR
Code:
/bin/sh: line 1: -I../c++: No such file or directory
make[1]: *** [../obj_s/cursesf.o] Error 127
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++'
make: *** [all] Error 2

!!! ERROR: sys-libs/ncurses-5.4-r6 failed.
!!! Function do_compile, Line 86, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


EMERGE --INFO
Code:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 18:18:11)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="x86 3dnow aalib acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd dvdread emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg ldap libg++ libwww mad mikmod motif mp3 mpeg msn nccurses ncurses nls odbc oggvorbis opengl oss pam pcmcia pdflib perl png pnp python quicktime readline sdl spell sse ssl tcpd tetex truetype truetype-fonts type1-fonts usb xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


somebody who has any idea?
hoped to get my system up during night (sleeping) but seems it'll need to wait till tomorrow :(

thx in advance
(i'm pretty noobish, using gentoo for 1-2 years now, but never really had the time to get to the core of it)
Back to top
View user's profile Send private message
rdf24
n00b
n00b


Joined: 15 Jun 2005
Posts: 5
Location: Pennsylvania, USA

PostPosted: Wed Jun 22, 2005 5:53 am    Post subject: Reply with quote

First, thanks for the install method Bob. I've only noticed one thing (after step 7.2.5's rebuilding toolchain but before the emerge -e system) and that is that it doesn't look like any cflags or cxxflags took. I checked the compile logs, but the relevant info seems to come from:

Code:
livecd / # cat /var/db/pkg/sys-libs/glibc-2.3.5/CFLAGS
-march=i686 -pipe -O2 -O2 -O2


Code:
livecd / # cat /var/db/pkg/sys-devel/gcc-3.4.3.20050110-r2/CFLAGS
-march=i686 -pipe -O2


Here is the output of emerge --info
Code:
livecd / # emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 13:17:01)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com http://gentoo.netnitco.net http://gentoo.llarian.net/"
MAKEOPTS="-j2"
PKGDIR="/home/michael/.portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib video_cards_i810 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


My only thoughts are that -march=i686 might have nullified all my cflags and cxxflags (perhaps it is too outdated of a -march setting). Also, I used the "stage3-i686-2005.0" tarball. I just am curious to figure this out before I emerge -e system since my cpu is rather slow. I figure that it might be redundant to post make.conf, but if anyone needs to see it then I would be glad to post it.
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Wed Jun 22, 2005 6:14 pm    Post subject: Reply with quote

rdf24 wrote:
First, thanks for the install method Bob. I've only noticed one thing (after step 7.2.5's rebuilding toolchain but before the emerge -e system) and that is that it doesn't look like any cflags or cxxflags took. I checked the compile logs, but the relevant info seems to come from:

Here is the output of emerge --info
Quote:
livecd / # emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 13:17:01)]
dev-lang/python: 2.3.4-r1
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com http://gentoo.netnitco.net http://gentoo.llarian.net/"
MAKEOPTS="-j2"
PKGDIR="/home/michael/.portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib video_cards_i810 userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


My only thoughts are that -march=i686 might have nullified all my cflags and cxxflags (perhaps it is too outdated of a -march setting). Also, I used the "stage3-i686-2005.0" tarball. I just am curious to figure this out before I emerge -e system since my cpu is rather slow. I figure that it might be redundant to post make.conf, but if anyone needs to see it then I would be glad to post it.


emerge info confirms that your flags are in effect. they may be being disabled on a per-package basis by the individual ebuilds.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
rd
n00b
n00b


Joined: 22 Jun 2005
Posts: 2

PostPosted: Wed Jun 22, 2005 7:03 pm    Post subject: this is probably simple, but outside of my skillset Reply with quote

hi! i've a passing familarity with linux, and this error is a bit beyond me. sorry, i like wading in over my head and learning. :oops:

i've a compaq tc1000 tablet, running a transmeta crusoe.
i'm stage3-i686-2005.0.tar.bz2
i ran into this on _emerge -e system_

thank you!

-hummingbird

Quote:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:563: checking for gcc
configure:676: checking whether the C compiler (gcc -O3 -march=i686 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -mpreferred-stack-boundary=2 falign-functions=0 -falign-jumps=0 -falign-loops=0 ) works
configure:692: gcc -o conftest -O3 -march=i686 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -mpreferred-stack-boundary=2 falign-functions=0 -falign-jumps=0 -falign-loops=0 conftest.c 1>&5
gcc: falign-functions=0: No such file or directory
configure: failed program was:

#line 687 "configure"
#include "confdefs.h"

main(){return(0);}


Quote:
Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 21 2005, 09:28:23)]
dev-lang/python: 2.3.5
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: [Not Present]
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -mpreferred-stack-boundary=2 falign-functions=0 -falign-jumps=0 -falign-loops=0"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -mpreferred-stack-boundary=2 falign-functions=0 -falign-jumps=0 -falign-loops=0 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Back to top
View user's profile Send private message
rdf24
n00b
n00b


Joined: 15 Jun 2005
Posts: 5
Location: Pennsylvania, USA

PostPosted: Thu Jun 23, 2005 1:52 am    Post subject: Reply with quote

Hey rd, I'm just glancing at your emerge --info there and it looks like libtool isn't present. This is just a stab in the dark here, but why not try emerging libtool and try again? Seems kind of odd that it isn't installed, you are using the same tarball as me and it was installed on mine. Anyways try that, if that doesn't work then maybe someone else will be able to help you :).
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Thu Jun 23, 2005 11:33 am    Post subject: Re: this is probably simple, but outside of my skillset Reply with quote

rd wrote:
Code:
gcc: falign-functions=0: No such file or directory
configure: failed program was:

#line 687 "configure"
#include "confdefs.h"

main(){return(0);}

Shouldn't 'falign-functions=0' have a hyphen at the front, like the other flags...?
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
cornmander
n00b
n00b


Joined: 27 Apr 2005
Posts: 45

PostPosted: Thu Jun 23, 2005 12:07 pm    Post subject: Corrupted File? Reply with quote

woops...

wrong thread.
Back to top
View user's profile Send private message
rd
n00b
n00b


Joined: 22 Jun 2005
Posts: 2

PostPosted: Thu Jun 23, 2005 1:51 pm    Post subject: Reply with quote

:oops: um, that would be a yes. oops!

-hummingbird
Back to top
View user's profile Send private message
jhunholz
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 154
Location: Raleigh, NC

PostPosted: Wed Jul 06, 2005 2:48 pm    Post subject: Reply with quote

I had to reinstall Gentoo on my laptop, so I thought I would give this stage 1/3 install a try. I've got most of the hard work done, but the sysfsutils package is giving me some grief. Anyone have an idea how I can fix this?

Error message:
Code:
mv -f libsysfs_la-sysfs_dir.o .libs/libsysfs_la-sysfs_dir.lo
mv: cannot stat `libsysfs_la-sysfs_dir.o': No such file or directory
make[2]: *** [libsysfs_la-sysfs_dir.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f libsysfs_la-sysfs_utils.o .libs/libsysfs_la-sysfs_utils.lo
mv: cannot stat `libsysfs_la-sysfs_utils.o': No such file or directory
make[2]: *** [libsysfs_la-sysfs_utils.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/sysfsutils-1.2.0-r2/work/sysfsutils-1.2.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sysfsutils-1.2.0-r2/work/sysfsutils-1.2.0'
make: *** [all] Error 2

!!! ERROR: sys-fs/sysfsutils-1.2.0-r2 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


My make.conf:
Code:
CFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer -pipe -fforce-addr -momit-leaf-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
SYNC="rsync://barliman/gentoo-portage"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT=180
MAKEOPTS="-j2"
PORTAGE_NICENESS=3
AUTOCLEAN="yes"
FEATURES="ccache distlocks sandbox userpriv usersandbox"
CCACHE_SIZE="512M"
RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes
USE="npt1"


Any ideas? Thanks!
_________________
Member of the Gentoo Right Wing Conspiracy
Back to top
View user's profile Send private message
dustin_mays
n00b
n00b


Joined: 11 Jul 2005
Posts: 12

PostPosted: Wed Jul 13, 2005 4:06 am    Post subject: Reply with quote

Hi, I'm having trouble running the stage 1/3 install. Everything works fine until section 7.2.5.

Error:
Code:
trings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/../include  /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/hooks.c -o hooks.o
stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c    -O2 -march=k6-2 -pipe -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/../include  /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/ifcvt.c -o ifcvt.o
stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c    -O2 -march=k6-2 -pipe -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/../include  /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/genattrtab.c -o genattrtab.o
stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c    -O2 -march=k6-2 -pipe -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/../include  /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/genautomata.c -o genautomata.o
stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c    -O2 -march=k6-2 -pipe -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/../include  /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/varray.c -o varray.o
stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/    -O2 -march=k6-2 -pipe -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genattrtab \
 genattrtab.o genautomata.o \
 rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o insn-conditions.o print-rtl1.o errors.o \
 varray.o ../libiberty/libiberty.a -lm
./genattrtab /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/config/i386/i386.md > tmp-attrtab.c
make[2]: *** [s-attrtab] Error 139
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3.20050110-r2/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3.20050110-r2/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.3.20050110-r2 failed.
!!! Function gcc_do_make, Line 1211, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.


emerge --info:
Code:
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r3 i586)
=================================================================
System uname: 2.6.11-gentoo-r3 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=k6-2 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k6-2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


You guys have any idea what my problem is?

Thanks,
Dustin
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Wed Jul 13, 2005 4:37 am    Post subject: Reply with quote

Have you tried re-emerging GCC with FEATURES="-strict"?

Better yet, unless you are recompiling an existing Gentoo installation with gcc 3.4.3, I would strongly encourage you to use a Jackass!-built system. We created it specifically to do away with recompiling an entire system from scratch (as per the Stage 1/3 method); it contains the exact same enhancements to make.conf as provided in the stage 1/3 install, but every last emerge -e system/world has been done in advance. No recompiling needed whatsoever. You get all the benefits--NPTL, CFLAGS, recompilation--with none of the disadvantages. Plus, the tarball is just a Stage 3 tarball that is installed in exactly the same manner as a regular Gentoo Stage 3 tarball. Check out the link, unless you don't want to hose an existing Gentoo installation. Jackass! saves days of recompiling time and wear'n'tear on your older hardware.
Back to top
View user's profile Send private message
dustin_mays
n00b
n00b


Joined: 11 Jul 2005
Posts: 12

PostPosted: Wed Jul 13, 2005 6:26 am    Post subject: Reply with quote

I had thought about using Jackass!, but then I saw there wasn't a CD that supported my architecture. Stupid k6-2's. :cry: That's why I'm doing the Stage 1/3 install. Or is there a way that I can use one of the CDs, and then optimize for k6-2? If not, then how do I pass -strict on to gcc? Would I set it as an environment variable? Sorry for the n00b questions, but that's what I am. :oops:

Thanks a lot,
Dustin
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Wed Jul 13, 2005 6:40 am    Post subject: Reply with quote

dustin_mays wrote:
I had thought about using Jackass!, but then I saw there wasn't a CD that supported my architecture. Stupid k6-2's. :cry: That's why I'm doing the Stage 1/3 install. Or is there a way that I can use one of the CDs, and then optimize for k6-2? If not, then how do I pass -strict on to gcc? Would I set it as an environment variable? Sorry for the n00b questions, but that's what I am.

You do really need to read up on how to use emerge; man emerge and man 5 portage will give some pointers there. Basically, you'd try emerging gcc with -strict by doing this:
Code:
# FEATURES="-strict" emerge gcc
That's all; just a variable placed immediately before the package you want to emerge. If you want to globally set FEATURES="-strict", you need to modify that line in /etc/make.conf. Just set it to the code above.

Also, search the forums for your specific processor--I am positive that this subject has come up elsewhere. I believe that if you do cat /proc/cpuinfo, you'll see the kinds of flags that a K6-2 will accept. For now, you can use the Pentium MMX Jackass! LiveCD & tarball; that is the highest arch compatible with your processor.

But if you don't want to do that, then just stick with the Stage 1/3 method. And do give the FEATURES suggestion a try. I don't recall ever hearing about too many failed emerges of gcc with such basic CFLAGS. I'll check Bugzilla, and do let me know if the solution works.

EDIT: I found this bug in Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=78618

Are you trying to use some other secure/hardened software in Gentoo, like the hardened gcc?
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Wed Jul 13, 2005 4:27 pm    Post subject: Reply with quote

i think that this is another example of the developers silently tinkering with packages in the portage tree without telling anyone -- and breaking things that weren't broken in the process.

one thing that is important for a n00b to understand is that using the portage tree is an exercise in risk management. depending upon what the devs have been doing, packages that used to work fine may suddenly become b0rked without warning, and there will be no possibility of a work around until they fix what they've broken. it may be totally impossible for you to build a Gentoo system if the ebuilds are corrupted. your only choice is to use a different portage snapshot, or to wait until the problems are fixed.

one of the main objectives of the Jackass! project was to identify a stable portage snapshot, capture it, and use it for all system functions, thereby avoiding the problem caused by developers who can't resist the urge to tinker with the toolkit.

if i were in your shoes, i would use the Jackass! tarball for Pentium-MMX and be done with it. When you examine the K6 compiler flags, you'll realize that you're not going to be missing anything significant.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
dustin_mays
n00b
n00b


Joined: 11 Jul 2005
Posts: 12

PostPosted: Wed Jul 13, 2005 4:29 pm    Post subject: Reply with quote

As far as I know, no, I'm not using any hardened software. Thanks for clarifying that for me, I'll go do that right now. I'd have read emerge's man page, but the live CD doesn't have man on it, and I haven't tried my chrooted environment. I'll try that as well.

Thanks,
Dustin

Edit: I'll try the Jackass CD if the install keeps b0rking on me, but I would really like to work my way through the Stage 1/3 install first. I really appreciate all of your help, guys. :)


Last edited by dustin_mays on Wed Jul 13, 2005 4:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Wed Jul 13, 2005 4:33 pm    Post subject: Reply with quote

nightmorph wrote:
Basically, you'd try emerging gcc with -strict by doing this:
Code:
# FEATURES="-strict" emerge gcc
That's all; just a variable placed immediately before the package you want to emerge. If you want to globally set FEATURES="-strict", you need to modify that line in /etc/make.conf. Just set it to the code above.


as a general rule, i've never liked the idea of recommending the use of one-time features statements on the command line. more often than not, users will be able to successfully install an ebuild that way, but they will eventually forget what they have done. eventually, when they try to rebuild something, they run into problems and can't remember that they had to use a one-time command line statement to get things going. when they try to rebuild their system at a later date, something fails and they can't remember what they've done or why they've done it. for reasons liek this i've never been a fan of non-persistent emerge parameters. my recommendation would be to edit make.conf and make the changes global, but that's just me...
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 21, 22, 23, 24  Next
Page 22 of 24

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum