Summary: | sys-libs/glibc-2.7 compile fails with gcc-4.2.2 for i486+ with USE=glibc-omitfp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Weedy <weedy2887> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ace, Adrian.Bassett, ag, alexxy, aloishammer, andre, andrey.melentyev, balrogg, christian_burger, cm, danarmak, dkarasik, emilbeinroth, flameeyes, gentoo-bugs, hanno, jakub, je_fro, jiri.baloun, leio, leonidp.lists, Martin.Jansa, matteo.sasso, natanael.copa, nuovomattino, patrizio.bassi, public, rhill, sandro.bonazzola, scottfk, smoothhound, steffen.bergner, teidakankan, tsabi-gentoo, voyageur |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://sourceware.org/ml/libc-alpha/2007-10/msg00054.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch file for the bug
new ebuild with call to apply patch memmove-macro-string.h.patch as Weedy pasted in build.log for glibc-2.7 |
Description
Weedy
2007-10-24 13:49:35 UTC
works for me. diff -urN /usr/portage/sys-libs/glibc/files/memmove-macro-string.h.patch /usr/local/portage/sys-libs/glibc/files/memmove-macro-string.h.patch --- /usr/portage/sys-libs/glibc/files/memmove-macro-string.h.patch 1969-12-31 19:00:00.000000000 -0500 +++ /usr/local/portage/sys-libs/glibc/files/memmove-macro-string.h.patch 2007-10-25 01:12:07.000000000 -0400 @@ -0,0 +1,17 @@ +--- glibc-2.7/sysdeps/i386/i486/bits/string.h.orig 2007-10-25 00:50:29.000000000 -0400 ++++ glibc-2.7/sysdeps/i386/i486/bits/string.h 2007-10-25 00:51:49.000000000 -0400 +@@ -143,10 +143,13 @@ + + #define _HAVE_STRING_ARCH_memmove 1 + #ifndef _FORCE_INLINES ++#define memmove(dest, src, n) \ ++ __memmove_g ((dest), (src), (n)) ++ + /* Copy N bytes of SRC to DEST, guaranteeing + correct behavior for overlapping strings. */ + __STRING_INLINE void * +-memmove (void *__dest, __const void *__src, size_t __n) ++__memmove_g (void *__dest, __const void *__src, size_t __n) + { + register unsigned long int __d0, __d1, __d2; + register void *__tmp = __dest; diff -urN /usr/portage/sys-libs/glibc/glibc-2.7.ebuild /usr/local/portage/sys-libs/glibc/glibc-2.7.ebuild --- /usr/portage/sys-libs/glibc/glibc-2.7.ebuild 2007-10-24 02:36:53.000000000 -0400 +++ /usr/local/portage/sys-libs/glibc/glibc-2.7.ebuild 2007-10-25 01:10:21.000000000 -0400 @@ -144,7 +144,8 @@ eblit-${PN}-$1 || die } -src_unpack() { eblit-run src_unpack ; } +src_unpack() { eblit-run src_unpack ; +epatch ${FILESDIR}/memmove-macro-string.h.patch ; } src_compile() { eblit-run src_compile ; } src_test() { eblit-run src_test ; } src_install() { eblit-run src_install ; } *** Bug 198340 has been marked as a duplicate of this bug. *** Created attachment 135425 [details, diff]
Patch file for the bug
Created attachment 135427 [details]
new ebuild with call to apply patch
Potentially this patch would be applied the same way as all the other patches. This method is applying the patch outside of the normal mechanism.
Created attachment 135428 [details, diff]
memmove-macro-string.h.patch as Weedy pasted in
Put it directly in the glibc/files/ folder
Oups, sorry everyone. Waited for the build to complete and didn't refresh the page. (In reply to comment #6) > Created an attachment (id=135428) [edit] > memmove-macro-string.h.patch as Weedy pasted in > > Put it directly in the glibc/files/ folder > I have the same problem on x86 and x86_64 systems (In reply to comment #8) > I have the same problem on x86 and x86_64 systems > My too, but with the patch it's good, thanks. > (In reply to comment #8)
> > I have the same problem on x86 and x86_64 systems
same for me
i think it's useless i say same for me on amd64 :) if it works - could you guys please push this into the portage-tree ? many thanks in advance Is there any particular reason for not masking glibc-2.7 until it compile or the patch proves to work fine? Fails also for me on ~amd64. people who have USE=glibc-omitfp are not considered a priority by any means masking glibc-2.7 for ricers is not an option Nothing with glibc-omitfp suggests that it is for ricers. Could you please come up with a valid reason, such as the patch that is already provided is not correct, so that it can be looked at? what happened to "if it's in ./configure, then it's valid and should be fixed or punted completely". could you drop the USE flag until someone upstream can be bothered to get off their asses and look at it? and c'mon. could you give just a moment of consideration before you drop known-broken shit on people? i know you're beyond caring but some of us have to answer for it. i didnt say it wasnt supported, i said it isnt a priority ... see the difference ? this makes no sense. if an USE flag is there it should work. it makes no sense to say it's a risky flag. if it's risky why it's in the ebuild? deactivate it or force it disabled. *** Bug 198638 has been marked as a duplicate of this bug. *** (In reply to comment #18) > this makes no sense. > if an USE flag is there it should work. > it makes no sense to say it's a risky flag. if it's risky why it's in the > ebuild? deactivate it or force it disabled. > Or apply proper patch. *** Bug 198761 has been marked as a duplicate of this bug. *** Created attachment 135721 [details]
build.log for glibc-2.7
Not fixed yet, please see below results after running:
emerge linux-headers glibc binutils-config binutils gcc-config gcc && emerge glibc binutils gcc && emerge system -e && emerge world -e
x86_64-pc-linux-gnu-gcc stack_chk_fail.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -Wstrict-prototypes -mpreferred-stack-boundary=2 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -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 -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/stack_chk_fail.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/stack_chk_fail.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/stack_chk_fail.o
x86_64-pc-linux-gnu-gcc fortify_fail.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -Wstrict-prototypes -mpreferred-stack-boundary=2 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -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 -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/fortify_fail.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/fortify_fail.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/fortify_fail.o
x86_64-pc-linux-gnu-gcc warning-nop.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -Wstrict-prototypes -mpreferred-stack-boundary=2 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -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 -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/warning-nop.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/warning-nop.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/warning-nop.o
x86_64-pc-linux-gnu-gcc stack_chk_fail_local.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -Wstrict-prototypes -mpreferred-stack-boundary=2 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -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 -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/stack_chk_fail_local.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/stack_chk_fail_local.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/stack_chk_fail_local.o
x86_64-pc-linux-gnu-gcc ../sysdeps/i386/backtrace.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -Wstrict-prototypes -mpreferred-stack-boundary=2 -fPIC -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -fno-omit-frame-pointer -fexceptions -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -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 -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/backtrace.os -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/backtrace.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/backtrace.os
x86_64-pc-linux-gnu-gcc ../sysdeps/generic/elf/backtracesyms.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -Wstrict-prototypes -mpreferred-stack-boundary=2 -fPIC -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -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 -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/backtracesyms.os -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/backtracesyms.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/backtracesyms.os
In file included from ../include/bits/string3.h:1,
from ../string/string.h:428,
from ../include/string.h:49,
from warning-nop.c:53:
../string/bits/string3.h:58: error: redefinition of 'memmove'
../string/string.h:59: warning: 'memset' declared inline after being called
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/warning-nop.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7/work/glibc-2.7/debug'
make[1]: *** [debug/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7/work/glibc-2.7'
make: *** [all] Error 2
*
* ERROR: sys-libs/glibc-2.7 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* glibc-2.7.ebuild, line 148: Called eblit-run 'src_compile'
* glibc-2.7.ebuild, line 144: Called eblit-glibc-src_compile
* src_compile.eblit, line 168: Called src_compile
* glibc-2.7.ebuild, line 148: Called eblit-run 'src_compile'
* glibc-2.7.ebuild, line 144: Called eblit-glibc-src_compile
* src_compile.eblit, line 179: Called toolchain-glibc_src_compile
* src_compile.eblit, line 122: Called die
* The specific snippet of code:
* make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed"
* The die message:
* make for x86 failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.7/temp/build.log'.
*
* Messages for package sys-devel/gcc-4.2.2:
* If you have issues with packages unable to locate libstdc++.la,
* then try running 'fix_libtool_files.sh' on the old gcc versions.
* Messages for package sys-libs/glibc-2.7:
*
* ERROR: sys-libs/glibc-2.7 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* glibc-2.7.ebuild, line 148: Called eblit-run 'src_compile'
* glibc-2.7.ebuild, line 144: Called eblit-glibc-src_compile
* src_compile.eblit, line 168: Called src_compile
* glibc-2.7.ebuild, line 148: Called eblit-run 'src_compile'
* glibc-2.7.ebuild, line 144: Called eblit-glibc-src_compile
* src_compile.eblit, line 179: Called toolchain-glibc_src_compile
* src_compile.eblit, line 122: Called die
* The specific snippet of code:
* make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed"
* The die message:
* make for x86 failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.7/temp/build.log'.
*
* Regenerating GNU info directory index...
* Processed 12 info files.
(In reply to comment #22) > Not fixed yet, please see below results after running: We know that it's not fixed, that's why this bug is still open. No need to post more logs here either. Same error, patch works for me on amd64. *** Bug 199182 has been marked as a duplicate of this bug. *** Is it so damn hard to remove the flag while it's broken, or why exactly do we need to be flooded by these pointless bugs?! go away Very helpful... you love to waste other people's time, don't you? come on, we don't want flames, just fix issues. (In reply to comment #26) > Is it so damn hard to remove the flag while it's broken, or why exactly do we > need to be flooded by these pointless bugs?! > Jakub, if this is really your attitude, then I'm sorry but I will stop installing ebuilds from testing and reporting bugs to help stabilizing them. And btw., the error messages/logs in this case did not point towards some stupid compiler flag; so I missed this bug here (btw. I have neither gcc-4.2.2 nor a 486 *narf*). (In reply to comment #30) You apparently missed the context and point of Comment #26... Back to the issue here, the use flag is masked now. (In reply to comment #30) > (In reply to comment #26) > > Is it so damn hard to remove the flag while it's broken, or why exactly do we > > need to be flooded by these pointless bugs?! > > > > Jakub, if this is really your attitude, then I'm sorry but I will stop > installing ebuilds from testing and reporting bugs to help stabilizing them. Please, please don't let Jakub run you off! We need people like you who are helping improve the quality of Gentoo. Your contributions are very important to us. Thank you for your work. um, he's not CC'd. in any case please keep the chatter relevant to the bug. i've already mailed him privately. thanks. why would we mask a (non-default and package-specific) use flag when the problem is solved w/ a patch that was already posted w/ working ebuild 2 weeks ago? Why wasn't the patch used instead of masking? (In reply to comment #34) > why would we mask a (non-default and package-specific) use flag when the > problem is solved w/ a patch that was already posted w/ working ebuild 2 weeks > ago? > Why wasn't the patch used instead of masking? Exactly the same question puzzles me... It's not certain the patch is the correct fix, and applying incorrect fixes to something such as glibc can be a bad thing. (In reply to comment #36) Which part of it looks uncertain? Basically if you're saying a patch is wrong, propose a better one or a hint as to what should be corrected in it. If you *really* want to know why I decided to go with a mask of the useflag rather than leaving it as it was or applying the patch, you might want to look at my post on http://farragut.flameeyes.is-a-geek.org/articles/2007/11/17/users-are-just-never-happy . Be warned: if you complained here for the masking, I have no good words for you, so don't take it on me if you find I did bash you on the post. For a cryptic summary I can tell you that the world is not 1 bit depth. (In reply to comment #38) > If you *really* want to know why I decided to go with a mask of the useflag > rather than leaving it as it was or applying the patch, you might want to look > at my post on > http://farragut.flameeyes.is-a-geek.org/articles/2007/11/17/users-are-just-never-happy > . > Be warned: if you complained here for the masking, I have no good words for > you, so don't take it on me if you find I did bash you on the post. For a > cryptic summary I can tell you that the world is not 1 bit depth. OK I'm fully OK with this. The reasoning behind this move just wasn't clear from the bug report. Next time I personally would prefer a little more explanation (instead of internal Gentoo discussions). Keep up the good work! I'd like to note that I'm also affected by this bug but do not use the mentioned USE flag. The above ebuild and patch work for me. I'd just like to add one thing: according to http://gentoo-wiki.com/Safe_Cflags#Pentium_III, -fomit-frame-pointer is a "safe" optimization. If it's not, the wiki really ought to be updated. (My present CFLAGS are set to precisely the recommendations on the wiki.) The patch is not working for me on my i586-pc-linux-gnu-4.2.2 The error is the same as before Please find my build.log.gz at http://rafb.net/p/ZvxuXG59.html never ever post a link to rafb.net or a similar paste site into the Gentoo bugzilla ... it will simply expire and be a useless/dead link fixed in glibc-2.7-r1 http://sources.gentoo.org/gentoo/src/patchsets/glibc/2.7/1085_all_glibc-omitfp-memmove.patch?rev=1.1 unblacklist the useflag please u can uncomment it here: nano /usr/portage/profiles/default-linux/amd64/package.use.mask (In reply to comment #44) > fixed in glibc-2.7-r1 > So, what about a flag? It's still masked. No it's not. Please check before complaining next time. |