* [gentoo-dev] Bleeding Edge Package Compile Failures
@ 2003-07-28 1:34 99% Kumba
0 siblings, 0 replies; 1+ results
From: Kumba @ 2003-07-28 1:34 UTC (permalink / raw
To: gentoo-dev; +Cc: gcc-porting
Okay, so I got bored, upgraded my x86 box to virtually as bleeding edge
as I think I can get it, and decided to emerge -e world (on a
package-by-package basis), and out of ~207 packages, 6 have issues.
They are detailed below.
For starters, my base system is the following:
gcc-3.3-r1
glibc-2.3.2-r3 + nptl-0.55
binutils-2.14.90.0.5
linux-2.6.0-test1-mm2
linux-headers-2.4.19
CFLAGS/CXXFLAGS = -march=athlon -O2 -pipe -fomit-frame-pointer
-fforce-addr -falign-functions=4 -ffast-math -fstack-protector
And the failing packages...
//--------------------------
=sys-libs/pam-0.75-r11
mkdir -p /usr/obj/portage/pam-0.75-r11/image///lib
/bin/install -c -m 755 libpam_misc.so
/usr/obj/portage/pam-0.75-r11/image///lib/libpam_misc.so.0.75
( cd /usr/obj/portage/pam-0.75-r11/image///lib ; rm -f libpam_misc.so ;
ln -s libpam_misc.so.0 libpam_misc.so )
/bin/install -c -m 644 libpam_misc.a
/usr/obj/portage/pam-0.75-r11/image///lib
make[1]: Leaving directory
`/usr/obj/portage/pam-0.75-r11/work/Linux-PAM-0.75/libpam_misc'
* Checking if all modules were built...
* ERROR: pam_pwdb module did not build.
Notes: This occurs during the "install" phase of things. pwdb was
supposedly deprecated, so why it's still grabbing for this module, I'm
not quite sure.
//--------------------------
//--------------------------
=net-libs/liblockfile-1.03
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -ffast-math -fstack-protector -Wall -D_GNU_SOURCE
-I. -c -o dotlockfile.o dotlockfile.c
dotlockfile.c:131:47: pasting "_PATH_MAILDIR" and ""/"" does not give a
valid preprocessing token
lockfile.c:392:35: pasting "_PATH_MAILDIR" and ""/"" does not give a
valid preprocessing token
lockfile.c:401:41: pasting "_PATH_MAILDIR" and ""/"" does not give a
valid preprocessing token
make: *** [dotlockfile.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [lockfile.o] Error 1
!!! ERROR: net-libs/liblockfile-1.03 failed.
!!! Function src_compile, Line 19, Exitcode 2
!!! (no error message)
//--------------------------
//--------------------------
=sys-apps/modutils-2.4.25
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -ffast-math -fstack-protector -I./../include
-D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0
-DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386
-DTAINT_URL='"http://www.tux.org/lkml/#export-tainted"' -DCOMBINE_rmmod
-DCOMBINE_modprobe -DCOMBINE_lsmod -DCOMBINE_ksyms -DCOMBINE_kallsyms
-Dmain=combined_insmod_main -c -o combined_insmod.o insmod.c
In file included from modprobe.c:39:
../include/util.h:42: warning: built-in function `log' declared as
non-function
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -ffast-math -fstack-protector -o insmod insmod.o
rmmod.o modprobe.o lsmod.o ksyms.o kallsyms.o ../obj/libobj.a
../util/libutil.a
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -ffast-math -fstack-protector -o modinfo modinfo.o
../obj/libobj.a ../util/libutil.a
gcc -static -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -ffast-math -fstack-protector -o insmod.static
insmod.o rmmod.o modprobe.o lsmod.o ksyms.o kallsyms.o ../obj/libobj.a
../util/libutil.a
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/libgcc_eh.a(unwind-dw2-fde-glibc.o)(.text+0x1651):
In function `_Unwind_Find_FDE':
/usr/obj/portage/gcc-3.3-r1/work/gcc-3.3/gcc/unwind-dw2-fde-glibc.c:283:
undefined reference to `dl_iterate_phdr'
collect2: ld returned 1 exit status
make[1]: *** [insmod.static] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from insmod.c:79:
../include/util.h:42: warning: built-in function `log' declared as
non-function
make[1]: Leaving directory
`/usr/obj/portage/modutils-2.4.25/work/modutils-2.4.25/insmod'
make: *** [all] Error 2
!!! ERROR: sys-apps/modutils-2.4.25 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! emake failed
//--------------------------
//--------------------------
=sys-apps/module-init-tools-0.9.12-r1
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -ffast-math -fstack-protector -o modinfo modinfo.o
../obj/libobj.a ../util/libutil.a
gcc -static -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -ffast-math -fstack-protector -o insmod.static
insmod.o rmmod.o modprobe.o lsmod.o ksyms.o kallsyms.o ../obj/libobj.a
../util/libutil.a
ar rv libmodutils.a combined_insmod.o
a - combined_insmod.o
ln -sf insmod modprobe
ln -sf insmod rmmod
ln -sf insmod lsmod
ln -sf insmod ksyms
ln -sf insmod kallsyms
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/libgcc_eh.a(unwind-dw2-fde-glibc.o)(.text+0x1651):
In function `_Unwind_Find_FDE':
/usr/obj/portage/gcc-3.3-r1/work/gcc-3.3/gcc/unwind-dw2-fde-glibc.c:283:
undefined reference to `dl_iterate_phdr'
collect2: ld returned 1 exit status
make[1]: *** [insmod.static] Error 1
make[1]: Leaving directory
`/usr/obj/portage/module-init-tools-0.9.12-r1/work/modutils-2.4.25/insmod'
make: *** [all] Error 2
!!! ERROR: sys-apps/module-init-tools-0.9.12-r1 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! emake modutils failed
//--------------------------
//--------------------------
=sys-apps/parted-1.6.5
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -march=athlon -O2
-pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -ffast-math
-fstack-protector -D_REENTRANT -D_FILE_OFFSET_BITS=64
-DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W
-Wall -Wno-unused -Wno-switch -Wno-format -Werror -c
ext2_block_relocator.c -MT ext2_block_relocator.lo -MD -MP -MF
.deps/ext2_block_relocator.TPlo -fPIC -DPIC -o
.libs/ext2_block_relocator.lo
ext2.c: In function `_inode_update_size':
ext2.c:358: warning: integer constant is too large for "long" type
ext2.c:359: warning: integer constant is too large for "long" type
make[3]: *** [ext2.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -march=athlon -O2
-pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -ffast-math
-fstack-protector -D_REENTRANT -D_FILE_OFFSET_BITS=64
-DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W
-Wall -Wno-unused -Wno-switch -Wno-format -Werror -c
ext2_block_relocator.c -MT ext2_block_relocator.lo -MD -MP -MF
.deps/ext2_block_relocator.TPlo -o ext2_block_relocator.o >/dev/null 2>&1
mv -f .libs/ext2_block_relocator.lo ext2_block_relocator.lo
make[3]: Leaving directory
`/usr/obj/portage/parted-1.6.5/work/parted-1.6.5/libparted/fs_ext2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/obj/portage/parted-1.6.5/work/parted-1.6.5/libparted'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/obj/portage/parted-1.6.5/work/parted-1.6.5'
make: *** [all] Error 2
!!! ERROR: sys-apps/parted-1.6.5 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! Make failed
Notes: Using sys-apps/parted-1.6.5-r1, this problem does not occur.
However, -r1 of parted is not yet marked stable or even unstable on x86.
//--------------------------
//--------------------------
=net-analyzer/tcpdump-3.7.2
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -ffast-math -fstack-protector -DHAVE_CONFIG_H -I.
-I./missing -I/usr/include -c ./print-sctp.c
In file included from print-sctp.c:54:
/usr/include/netinet/in.h:83: error: parse error before numeric constant
print-sctp.c: In function `sctp_print':
print-sctp.c:117: error: `IPPROTO_SCTP' undeclared (first use in this
function)
print-sctp.c:117: error: (Each undeclared identifier is reported only once
print-sctp.c:117: error: for each function it appears in.)
make: *** [print-sctp.o] Error 1
!!! ERROR: net-analyzer/tcpdump-3.7.2 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
//--------------------------
So anyone got any ideas on all this? That's not half bad for ~207
packages. Some of these I don't think are gcc-3.3 issues, but one never
knows (like the pam issue).
--Kumba
--
"Such is oft the course of deeds that move the wheels of the world:
small hands do them because they must, while the eyes of the great are
elsewhere." --Elrond
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-07-28 1:34 99% [gentoo-dev] Bleeding Edge Package Compile Failures Kumba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox