Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

GCC 3.4.4 is released!

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
58 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
Author
Message
Xake
Guru
Guru
User avatar
Posts: 588
Joined: Wed Feb 11, 2004 10:14 am
Location: Göteborg, the rainy part of scandinavia

  • Quote

Post by Xake » Sun May 29, 2005 9:15 am

Still 3.4.3 did go directly into ~* when that came. Why did not 3.4.4? I mean it just another bugfix-release of the 3.4.x-branch, so why is 3.4.4 diffrent?
Top
HardenCoonor
n00b
n00b
Posts: 54
Joined: Thu Feb 19, 2004 2:48 pm

  • Quote

Post by HardenCoonor » Tue May 31, 2005 11:24 am

Still 3.4.3 did go directly into ~* when that came. Why did not 3.4.4? I mean it just another bugfix-release of the 3.4.x-branch, so why is 3.4.4 diffrent?
Maybe gcc-3.4.3 is too stable right now, and the devs are concentrating on gcc-4.0.*, or on binutils, or glibc, or their summer holidays. Maybe when we all start to send in bug reports stating that there are no bugs we can achieve that gcc-3.4.4 becomes ~.

I use gcc-3.4.4 myself, and reemerged great parts of my system(besides glibc). It seems to be stable and fast.
Top
Xake
Guru
Guru
User avatar
Posts: 588
Joined: Wed Feb 11, 2004 10:14 am
Location: Göteborg, the rainy part of scandinavia

  • Quote

Post by Xake » Tue May 31, 2005 11:58 am

HardenCoonor wrote:
Still 3.4.3 did go directly into ~* when that came. Why did not 3.4.4? I mean it just another bugfix-release of the 3.4.x-branch, so why is 3.4.4 diffrent?
Maybe gcc-3.4.3 is too stable right now, and the devs are concentrating on gcc-4.0.*, or on binutils, or glibc, or their summer holidays. Maybe when we all start to send in bug reports stating that there are no bugs we can achieve that gcc-3.4.4 becomes ~.

I use gcc-3.4.4 myself, and reemerged great parts of my system(besides glibc). It seems to be stable and fast.
I have not yet tested with 3.4.3 if the this problem exists with that, but try do an

Code: Select all

FEATURES="maketest" emerge =gcc-3.4.4
after you have emerged 3.4.4 and you will notice some problems. However I don't remeber it failed during the test when I from a pure 2005.0-stage3 (gcc-3.3.5) emerged gcc-3.4.4.
This with CFLAGS="-pipe -march=pentium2 -O2"

And about GCC-4.0.x: I don't think that many gentoo-devs dedicates a big amount of time trying make that thing work. It is yet too unstable upstream to be of any intrest for more people than those with too much sparetime.
Maybe when 4.1.x hits the streets that may possible be a intresting thing to play with, but right now 4.x is more a glimps of things to come.
Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

  • Quote

Post by nxsty » Tue May 31, 2005 12:58 pm

Xake wrote:Still 3.4.3 did go directly into ~* when that came. Why did not 3.4.4? I mean it just another bugfix-release of the 3.4.x-branch, so why is 3.4.4 diffrent?
I guess the devs have some more plans for it first before it's put into unstable. It has already been changed several times since it ws put into the tree. Check the cvs log for the ebuild:
http://www.gentoo.org/cgi-bin/viewcvs.c ... 4.4.ebuild
Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

  • Quote

Post by nxsty » Wed Jun 01, 2005 8:12 am

Finally it's in ~arch! :P
Top
lavacano
Apprentice
Apprentice
User avatar
Posts: 190
Joined: Sun May 29, 2005 6:37 am
Location: Poulsbo, WA
Contact:
Contact lavacano
Website

  • Quote

Post by lavacano » Wed Jun 01, 2005 8:36 am

what would pwn is if this fixes the sse2 glitch in xorg :-P
Sincerely,

Chadwick Ferguson
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Wed Jun 01, 2005 9:51 am

nxsty wrote:Finally it's in ~arch! :P
Moved from Unsupported Software. :)
No-one's more important than the earthworm.
Top
thurisaz
n00b
n00b
Posts: 67
Joined: Wed Mar 02, 2005 9:20 am
Location: Bochum, Germany
Contact:
Contact thurisaz
Website

  • Quote

Post by thurisaz » Wed Jun 01, 2005 11:24 am

when I'm updating from gcc 3.4.3 to 3.4.4 what else need I to do after this? Something like "revdep-rebuild" or re-emerging any other stuff? Because after I updated the kernel, all my third-party-kernel-modules like vmware and nvidia needed to be re-compiled in order to work correctly. Are there any similar procedures for a gcc update too?

P.S.: my system is a very up-to-date stage 1 installation...
Top
yardbird
l33t
l33t
User avatar
Posts: 689
Joined: Sat Apr 20, 2002 7:02 pm
Location: nl.leiden

  • Quote

Post by yardbird » Wed Jun 01, 2005 12:45 pm

thurisaz wrote:when I'm updating from gcc 3.4.3 to 3.4.4 what else need I to do after this? Something like "revdep-rebuild" or re-emerging any other stuff? Because after I updated the kernel, all my third-party-kernel-modules like vmware and nvidia needed to be re-compiled in order to work correctly. Are there any similar procedures for a gcc update too?

P.S.: my system is a very up-to-date stage 1 installation...
Nope, you should not need to do anything like that, since it is a minor upgrade and it did not change any API/ABI. When you updated the kernel you need to re-emerge 3rd party modules simply because they are not present in the new kernel's modules directory (they had been installed in the old kernel's one).
Albert Einstein wrote:I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.
http://www.bluescarni.info
Top
MrApples
Guru
Guru
Posts: 511
Joined: Fri Dec 13, 2002 5:52 pm
Contact:
Contact MrApples
Website

  • Quote

Post by MrApples » Wed Jun 01, 2005 5:32 pm

i get the following error when doing emerge -e system after emergin gcc 3.4.4

Code: Select all

echo timestamp > s-recog
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/    -march=athlon-xp -O2 -pipe -fprefetch-loop-arrays -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include  -c insn-recog.c \
  -o insn-recog.o
insn-recog.c: In function `recog_16':
insn-recog.c:25669: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [insn-recog.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make: *** [profiledbootstrap] Error 2 
emerge info

Code: Select all

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-ck7-r1 i686)
=================================================================
System uname: 2.6.11-ck7-r1 i686 AMD Athlon XP-M
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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 aim alsa avi bash bonobo bzlib calendar cdb cdr cups dedicated divx4linux dvd eds encode evo flac font-server foomaticdb fortran freetype ftp gd gif gnome gphoto2 gstreamer gtk gtk2 gtkhtml hal howl imagemagick imap imlib imlib2 java jpeg lcms mime mozilla mp3 mpeg ncurses nptl nptlonly oggvorbis openal opengl oscar perl png posix python quicktime samba sdl svg tiff truetype truetype-fonts udev unicode usb xine xmms xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
any ideas?
http://www.whatsinyourbox.org -- Technology discussion, news, and more.
Top
chevdor
n00b
n00b
Posts: 25
Joined: Fri Aug 19, 2005 9:33 am
Location: France
Contact:
Contact chevdor
Website

  • Quote

Post by chevdor » Sat Aug 20, 2005 12:11 pm

same here.
Did you fix it ?
Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

  • Quote

Post by nxsty » Sat Aug 20, 2005 12:51 pm

chevdor wrote:same here.
Did you fix it ?
What's your emerge --info?
Top
chevdor
n00b
n00b
Posts: 25
Joined: Fri Aug 19, 2005 9:33 am
Location: France
Contact:
Contact chevdor
Website

  • Quote

Post by chevdor » Sat Aug 20, 2005 12:55 pm

nxsty wrote:
chevdor wrote:same here.
Did you fix it ?
What's your emerge --info?
thx for the answer.
This is the 4th unsuccessful try... i updated glibc.

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r1, 2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.12
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
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.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ ftp://sunsite.informatik.rwth-aachen.de ... nux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://www.mirrorservice.org/sites/www. ... rg/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts crypt cups eds encode esd fam foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 jpeg lzw lzw-tiff mozilla mp3 mpeg ncurses nls nvidia opengl pam pdflib perl png python quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb userlocales xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Top
chevdor
n00b
n00b
Posts: 25
Joined: Fri Aug 19, 2005 9:33 am
Location: France
Contact:
Contact chevdor
Website

  • Quote

Post by chevdor » Sat Aug 20, 2005 1:19 pm

The latest result with USE="sse3 -pipe -fforce-addr" emerge gcc
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/expr.c: In function `expand_expr_real':
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/expr.c:9156: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [expr.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.4 failed.
!!! Function gcc_do_make, Line 1214, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
Top
Xake
Guru
Guru
User avatar
Posts: 588
Joined: Wed Feb 11, 2004 10:14 am
Location: Göteborg, the rainy part of scandinavia

  • Quote

Post by Xake » Sun Aug 21, 2005 12:46 pm

chevdor wrote:The latest result with USE="sse3 -pipe -fforce-addr" emerge gcc
I think you should have a look at the diffrence between CFLAGS and USE-flags.
Looking at your 'emerge info' your CFLAGS seems like fine (stable) things so don't temper with the right now.

Maybe going ~amd64 for at least binutils may help?
Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

  • Quote

Post by nxsty » Sun Aug 21, 2005 1:13 pm

chevdor wrote:The latest result with USE="sse3 -pipe -fforce-addr" emerge gcc
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/expr.c: In function `expand_expr_real':
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/expr.c:9156: internal compiler error: Segmentation fault
Does it always crash on the same place with the same error?
Top
chevdor
n00b
n00b
Posts: 25
Joined: Fri Aug 19, 2005 9:33 am
Location: France
Contact:
Contact chevdor
Website

  • Quote

Post by chevdor » Sun Aug 21, 2005 1:27 pm

nxsty wrote:
chevdor wrote:The latest result with USE="sse3 -pipe -fforce-addr" emerge gcc
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/expr.c: In function `expand_expr_real':
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/expr.c:9156: internal compiler error: Segmentation fault
Does it always crash on the same place with the same error?
Yes I do not do anything, it crashes at the same place.
It did change because I update packages such as glibc and I tried changing my USE.

I have updated everything listed in emerge -pu --deep system but it keeps failing.

I appreciate your help since I do not find relevant topics anywhere...
Thanks

Will
Top
chevdor
n00b
n00b
Posts: 25
Joined: Fri Aug 19, 2005 9:33 am
Location: France
Contact:
Contact chevdor
Website

  • Quote

Post by chevdor » Sun Aug 21, 2005 1:57 pm

the latest :
emerge gcc > emerge_gcc.log

here is what has been dumped to the console (beginning truncated)


Automaton `pentium'
48 NDFA states, 138 NDFA arcs
48 DFA states, 138 DFA arcs
20 minimal DFA states, 82 minimal DFA arcs
158 all insns 17 insn equivalence classes
88 transition comb vector els, 340 trans table els: use comb vect
88 state alts comb vector els, 340 state alts table els: use comb vect
340 min delay table els, compression factor 2

Automaton `pentium_fpu'
80 NDFA states, 172 NDFA arcs
80 DFA states, 172 DFA arcs
75 minimal DFA states, 162 minimal DFA arcs
158 all insns 8 insn equivalence classes
164 transition comb vector els, 600 trans table els: use comb vect
164 state alts comb vector els, 600 state alts table els: use comb vect
600 min delay table els, compression factor 1

Automaton `athlon'
518 NDFA states, 1668 NDFA arcs
518 DFA states, 1668 DFA arcs
76 minimal DFA states, 328 minimal DFA arcs
158 all insns 10 insn equivalence classes
359 transition comb vector els, 760 trans table els: use simple vect
359 state alts comb vector els, 760 state alts table els: use simple vect
760 min delay table els, compression factor 2

Automaton `athlon_load'
162 NDFA states, 855 NDFA arcs
162 DFA states, 855 DFA arcs
162 minimal DFA states, 855 minimal DFA arcs
158 all insns 10 insn equivalence classes
1047 transition comb vector els, 1620 trans table els: use simple vect
1047 state alts comb vector els, 1620 state alts table els: use simple vect
1620 min delay table els, compression factor 2

Automaton `athlon_mult'
16 NDFA states, 48 NDFA arcs
16 DFA states, 48 DFA arcs
16 minimal DFA states, 48 minimal DFA arcs
158 all insns 4 insn equivalence classes
50 transition comb vector els, 64 trans table els: use simple vect
50 state alts comb vector els, 64 state alts table els: use simple vect
64 min delay table els, compression factor 2

Automaton `athlon_fp'
15522 NDFA states, 99908 NDFA arcs
15522 DFA states, 99908 DFA arcs
463 minimal DFA states, 3038 minimal DFA arcs
158 all insns 21 insn equivalence classes
3057 transition comb vector els, 9723 trans table els: use comb vect
3057 state alts comb vector els, 9723 state alts table els: use comb vect
9723 min delay table els, compression factor 1

17012 all allocated states, 101385 all allocated arcs
20258 all allocated alternative states
4765 all transition comb vector els, 13107 all trans table els
4765 all state alts comb vector els, 13107 all state alts table els
13107 all min delay table els
0 locked states num

transformation: 0.008999, building DFA: 5.813115
DFA minimization: 0.364945, making insn equivalence: 0.001000
all automaton generation: 6.256049, output: 0.070989
insn-attrtab.c: In function `insn_default_latency':
insn-attrtab.c:7293: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [insn-attrtab.o] Error 1
make[1]: *** [stage1_build] Error 2
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.4 failed.
!!! Function gcc_do_make, Line 1214, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
Top
bluesky74656
n00b
n00b
Posts: 9
Joined: Sat Jul 05, 2003 6:06 pm
Location: OH, USA
Contact:
Contact bluesky74656
Website

  • Quote

Post by bluesky74656 » Sun Aug 21, 2005 7:20 pm

I'm having the same problem. It's a fresh install, so I don't have any old version of GCC to fall back on. I need to get this system built before I leave for college in a week, and right now it won't bootstrap.

Emerge Info:
Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
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.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer"
CHOST="x86_64-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=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/dis ... ons/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr crypt cups dvd eds encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pdflib perl png python quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb userlocales xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Edit: Sorry, I forgot to include what I've done.
GCC Segfaulted trying to build GCC 3.4.4. I was trying to use NPTL, and I saw it segfault on linuxthreads, so I added the nptlonly use flag. This got it beyond GCC, but it died with glibc. At this point I figured I couldn't bootstrap, so I skipped that step and grabbbed stage 2 and masked glibc and gcc from updating. That got me through emerging system, but it segfaulted trying to build the kernel, so I'm still stuck.
Top
bluesky74656
n00b
n00b
Posts: 9
Joined: Sat Jul 05, 2003 6:06 pm
Location: OH, USA
Contact:
Contact bluesky74656
Website

  • Quote

Post by bluesky74656 » Sun Aug 21, 2005 7:47 pm

Update: I took Xake's advice and went ~amd64 for binutils. That got my kernel to compile. I'm not content to leave well enough alone, so I'm going to reformat and try to go with stage 1 with the updated version of binutils. I'll let y'll know how I make out.
Top
bluesky74656
n00b
n00b
Posts: 9
Joined: Sat Jul 05, 2003 6:06 pm
Location: OH, USA
Contact:
Contact bluesky74656
Website

  • Quote

Post by bluesky74656 » Sun Aug 21, 2005 9:05 pm

Update: gcc just failed on the bootstrap, same error. It looks as if the bootstrap script is still using the old version of binutils, even though I manually emerged the new one. Is there a way I can force the script to find the new one?

I just added ACCEPT_KEYWORDS="~amd64" to my make.conf, we'll see how that works.
Top
chevdor
n00b
n00b
Posts: 25
Joined: Fri Aug 19, 2005 9:33 am
Location: France
Contact:
Contact chevdor
Website

  • Quote

Post by chevdor » Sun Aug 21, 2005 9:44 pm

i did not try this... it should work with the keyword amd64 so i doubt it will help but please let me know...
I tried re emerging glibc with -multilib (I saw somewhere someone fixing his problem with this...) they tried re emerging gcc with still no success and the same error.
Top
bluesky74656
n00b
n00b
Posts: 9
Joined: Sat Jul 05, 2003 6:06 pm
Location: OH, USA
Contact:
Contact bluesky74656
Website

  • Quote

Post by bluesky74656 » Mon Aug 22, 2005 1:14 am

All this is doing is fighting symptoms and not the problem I got the system to bootstrap by manually emerging binutils, gcc, and glibc with ~amd64, but the compiler just segfaults on some other package in system. I'm pretty much stumped here, and because of my time crunch I may need to just give up and go for a binary distro, at least temporarily.
Top
chevdor
n00b
n00b
Posts: 25
Joined: Fri Aug 19, 2005 9:33 am
Location: France
Contact:
Contact chevdor
Website

News: I solved it !

  • Quote

Post by chevdor » Mon Aug 22, 2005 10:09 pm

Hello folks,
I finally got gcc 3.4.4 to compile on my amd64.

here my current make.conf (the one that works):
Please notice: most of the CFLAGS line is commented OUT

Code: Select all

CFLAGS="-march=k8" # -O0 -fforce-addr -fomit-frame-pointer -mmmx -msse -m3dnow"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ ftp://sunsite.informatik.rwth-a
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="   amd64 \
        3dnow \
        X \
        gtk \
        gtk2 \
        hal \
        howl \
        gnome \
        -qt \
        -kde \
        opengl \
        sse \
        nvidia"
Initially, I tried going from -O2 to -O0 (I saw some folks had success with that). No result.
Then I commented out all the flags and it worked.
I will now try re adding some flags to see what causes the problem. If you have some clues about which flag could fail the compilation, please let me know, it'll make my tries faster.

Hope this helps.
Will
Top
chevdor
n00b
n00b
Posts: 25
Joined: Fri Aug 19, 2005 9:33 am
Location: France
Contact:
Contact chevdor
Website

  • Quote

Post by chevdor » Mon Aug 22, 2005 11:05 pm

Code: Select all

CFLAGS="-march=k8 -pipe -fforce-addr -fomit-frame-pointer" #-mmmx -msse -m3dnow"
Works
Top
Post Reply

58 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic