Code: Select all
SNAPSHOT="2004-03-27" Code: Select all
SNAPSHOT="2004-04-07Code: Select all
SNAPSHOT="2004-03-27" Code: Select all
SNAPSHOT="2004-04-07

Yes, look here for further information:() wrote:Does GCC 3.4 include the new parser structure, rewritten from Bison to recursive descent, and precompiled headers? I'm hoping this will speed up C++ compilation
no idea. if it were entirely up to me, it would only be installable on amd64, as we have a definate need for it. i mean... gcc 3.4 JUST added an -march option for our arch. a lot of amd64-specific improvements and fixes are included in the new release... enough that re-compiling with gcc 3.4 makes it feel like you just bought a new computer.ett_gramse_nap wrote:When would the pre-release show up in portage?

Code: Select all
gcc abi-note.S -c -I../include -I. -I/var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere/csu -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/include -isystem //usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -DASSEMBLER -I/var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere/csu/. -Wa,--noexecstack -o /var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere/csu/abi-note.o -MD -MP -MF /var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere/csu/abi-note.o.dt
gcc init.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=k8 -pipe -I../include -I. -I/var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere/csu -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/include -isystem //usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -o /var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere/csu/init.o -MD -MP -MF /var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere/csu/init.o.dt
abi-note.S: Assembler messages:
abi-note.S:66: Warning: rest of line ignored; first ignored character is `0'
abi-note.S:67: Warning: rest of line ignored; first ignored character is `2'
abi-note.S:66: Error: can't resolve `.note.ABI-tag' {.note.ABI-tag section} - `' {*UND* section}
abi-note.S:67: Error: can't resolve `.note.ABI-tag' {.note.ABI-tag section} - `' {*UND* section}
make[2]: *** [/var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/buildhere/csu/abi-note.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040207/work/glibc-2.3.2'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.3.3_pre20040207 failed.
!!! Function src_compile, Line 531, Exitcode 2
!!! (no error message)
I saw this with the prerelease too. Used an earlyer version, and that worked fineThis occurs with all (!) snapshots >= 2004-04-07 (USE="-multilib -java" on amd64). Has somebody got an idea how to get over this?
This is a symbolic link problem. search the ebuild for "-lgcc_s" and you will find the needed links. Somehow these links are not made...Furthermore, gcc refuses to find -lgcc_s though it's directory /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../lib64 is in /etc/ld.so.conf. If I specify it via -L, it works, but otherwise not...




No you simply emerge it, and some things will compile with it and others won't. Fortunately, there's gcc-config to switch between different versions of gcc.ett_gramse_nap wrote:Then, maybe it's time for me stop lurking around in this thread and get into some action...Spawn of Lovechild wrote:2004-04-14 is out btw.
Are there any common pitfalls one should be aware of when starting to use 3.4? Or is it just to emerge it and then start emerging anything else?

Aha, didn't know that! Thanks!NeighborhoodGullwings wrote:No you simply emerge it, and some things will compile with it and others won't. Fortunately, there's gcc-config to switch between different versions of gcc.ett_gramse_nap wrote:Then, maybe it's time for me stop lurking around in this thread and get into some action...Spawn of Lovechild wrote:2004-04-14 is out btw.
Are there any common pitfalls one should be aware of when starting to use 3.4? Or is it just to emerge it and then start emerging anything else?


dont install binutils with anything in CFLAGS other than -O2 or it will break. once gcc 3.4 is in the tree, i'll see about adding a pkg_setup() to the binutils ebuild to change CFLAGS to -O2 for you if you're using gcc 3.4.ett_gramse_nap wrote:Then, maybe it's time for me stop lurking around in this thread and get into some action...Spawn of Lovechild wrote:2004-04-14 is out btw.
Are there any common pitfalls one should be aware of when starting to use 3.4? Or is it just to emerge it and then start emerging anything else?

Code: Select all
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o sched.o sched.c
sched.c:213: error: conflicting types for 'reschedule_idle'
sched.c:210: error: previous declaration of 'reschedule_idle' was here
sched.c:213: error: conflicting types for 'reschedule_idle'
sched.c:210: error: previous declaration of 'reschedule_idle' was here
sched.c:371: error: conflicting types for 'wake_up_process'
/usr/src/linux-2.4.26/include/linux/sched.h:603: error: previous declaration of 'wake_up_process' was here
sched.c:371: error: conflicting types for 'wake_up_process'
/usr/src/linux-2.4.26/include/linux/sched.h:603: error: previous declaration of 'wake_up_process' was here
sched.c:409: error: conflicting types for 'schedule_timeout'
/usr/src/linux-2.4.26/include/linux/sched.h:148: error: previous declaration of 'schedule_timeout' was here
sched.c:409: error: conflicting types for 'schedule_timeout'
/usr/src/linux-2.4.26/include/linux/sched.h:148: error: previous declaration of 'schedule_timeout' was here
sched.c:739: error: conflicting types for '__wake_up'
/usr/src/linux-2.4.26/include/linux/sched.h:595: error: previous declaration of '__wake_up' was here
sched.c:739: error: conflicting types for '__wake_up'
/usr/src/linux-2.4.26/include/linux/sched.h:595: error: previous declaration of '__wake_up' was here
sched.c:749: error: conflicting types for '__wake_up_sync'
/usr/src/linux-2.4.26/include/linux/sched.h:596: error: previous declaration of '__wake_up_sync' was here
sched.c:749: error: conflicting types for '__wake_up_sync'
/usr/src/linux-2.4.26/include/linux/sched.h:596: error: previous declaration of '__wake_up_sync' was here
sched.c:759: error: conflicting types for 'complete'
/usr/src/linux-2.4.26/include/linux/completion.h:31: error: previous declaration of 'complete' was here
sched.c:759: error: conflicting types for 'complete'
/usr/src/linux-2.4.26/include/linux/completion.h:31: error: previous declaration of 'complete' was here
sched.c:769: error: conflicting types for 'wait_for_completion'
/usr/src/linux-2.4.26/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here
sched.c:769: error: conflicting types for 'wait_for_completion'
/usr/src/linux-2.4.26/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here
sched.c:804: error: conflicting types for 'interruptible_sleep_on'
/usr/src/linux-2.4.26/include/linux/sched.h:600: error: previous declaration of 'interruptible_sleep_on' was here
sched.c:804: error: conflicting types for 'interruptible_sleep_on'
/usr/src/linux-2.4.26/include/linux/sched.h:600: error: previous declaration of 'interruptible_sleep_on' was here
sched.c:815: error: conflicting types for 'interruptible_sleep_on_timeout'
/usr/src/linux-2.4.26/include/linux/sched.h:601: error: previous declaration of 'interruptible_sleep_on_timeout' was here
sched.c:815: error: conflicting types for 'interruptible_sleep_on_timeout'
/usr/src/linux-2.4.26/include/linux/sched.h:601: error: previous declaration of 'interruptible_sleep_on_timeout' was here
sched.c:828: error: conflicting types for 'sleep_on'
/usr/src/linux-2.4.26/include/linux/sched.h:597: error: previous declaration of 'sleep_on' was here
sched.c:828: error: conflicting types for 'sleep_on'
/usr/src/linux-2.4.26/include/linux/sched.h:597: error: previous declaration of 'sleep_on' was here
sched.c:839: error: conflicting types for 'sleep_on_timeout'
/usr/src/linux-2.4.26/include/linux/sched.h:598: error: previous declaration of 'sleep_on_timeout' was here
sched.c:839: error: conflicting types for 'sleep_on_timeout'
/usr/src/linux-2.4.26/include/linux/sched.h:598: error: previous declaration of 'sleep_on_timeout' was here
sched.c:210: warning: 'reschedule_idle' declared `static' but never defined
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.26/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.26/kernel'
make: *** [_dir_kernel] Error 2

