Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220147 - building static binaries with gcc-4.3.0 on ia64 fail
Summary: building static binaries with gcc-4.3.0 on ia64 fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: IA64 Linux
: High normal
Assignee: IA-64 team
URL: http://gcc.gnu.org/bugzilla/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-03 19:39 UTC by Raúl Porcel (RETIRED)
Modified: 2008-05-04 10:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2008-05-03 19:39:21 UTC
ia64-unknown-linux-gnu-gcc -nostdlib -nostartfiles -static -o /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/elf/sln    /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/csu/crt1.o /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/csu/crti.o `ia64-unknown-linux-gnu-gcc --print-file-name=crtbegin.o` /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/elf/sln.o  /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/libc.a -lgcc -lgcc_eh -lunwind  /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/libc.a `ia64-unknown-linux-gnu-gcc --print-file-name=crtend.o` /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/csu/crtn.o
/usr/lib/gcc/ia64-unknown-linux-gnu/4.3.0/libunwind.a(unwind-ia64.o): In function `_Unwind_GetIPInfo':
(.text+0x420): multiple definition of `_Unwind_GetIPInfo'
/usr/lib/gcc/ia64-unknown-linux-gnu/4.3.0/libgcc_eh.a(unwind-compat.o):(.text+0x0): first defined here
/usr/lib/gcc/ia64-unknown-linux-gnu/4.3.0/libgcc_eh.a(unwind-compat.o): In function `_Unwind_GetIPInfo':
(.text+0x22): undefined reference to `__libunwind_Unwind_GetIP'
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/elf/sln] Error 1
make[2]: *** Waiting for unfinished jobs....
echo rtld-subdirs = `LC_ALL=C sed 's/^rtld-\([^ ]*\).*$/\1/' /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/elf/librtld.mkT \
                             | LC_ALL=C sort -u` >> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/elf/librtld.mkT
mv -f /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/elf/librtld.mkT /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-ia64-unknown-linux-gnu-nptl/elf/librtld.mk
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/elf'
make[1]: *** [elf/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1'
make: *** [all] Error 2
 *

Same error on latest glibc and module-init-tools.
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2008-05-03 19:45:09 UTC
Oh well, i see you're already there Mike :)
Comment 2 SpanKY gentoo-dev 2008-05-04 10:41:13 UTC
ive already dropped the patch in question