Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201815 - sys-libs/glibc-2.7[vanilla] fails to compile
Summary: sys-libs/glibc-2.7[vanilla] fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 203205 261681 262520 263862 264183 284502 325607 392231 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-09 23:56 UTC by Laurence Withers
Modified: 2011-11-28 18:45 UTC (History)
8 users (show)

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


Attachments
build.log from chrysocolla (chrysocolla-build.log,526.61 KB, text/plain)
2007-12-10 12:09 UTC, Laurence Withers
Details
emerge --info from chrysocolla (chrysocolla-emerge-info,2.99 KB, text/plain)
2007-12-10 12:10 UTC, Laurence Withers
Details
environment from chrysocolla (chrysocolla-environment,132.27 KB, text/plain)
2007-12-10 12:10 UTC, Laurence Withers
Details
make.conf from chrysocolla (chrysocolla-make.conf,1.79 KB, text/plain)
2007-12-10 12:10 UTC, Laurence Withers
Details
build.log from molybdenum (molybdenum-build.log,524.47 KB, text/plain)
2007-12-10 12:11 UTC, Laurence Withers
Details
emerge --info from molybdenum (molybdenum-emerge-info,3.05 KB, text/plain)
2007-12-10 12:11 UTC, Laurence Withers
Details
environment from molybdenum (molybdenum-environment,136.02 KB, text/plain)
2007-12-10 12:11 UTC, Laurence Withers
Details
make.conf from molybdenum (molybdenum-make.conf,403 bytes, text/plain)
2007-12-10 12:12 UTC, Laurence Withers
Details
build.log from roentgenium (roentgenium-build.log,526.62 KB, text/plain)
2007-12-10 12:12 UTC, Laurence Withers
Details
emerge --info from roentgenium (roentgenium-emerge-info,3.11 KB, text/plain)
2007-12-10 12:12 UTC, Laurence Withers
Details
environment from roentgenium (roentgenium-environment,132.30 KB, text/plain)
2007-12-10 12:13 UTC, Laurence Withers
Details
make.conf from roentgenium (roentgenium-make.conf,1.98 KB, text/plain)
2007-12-10 12:13 UTC, Laurence Withers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurence Withers 2007-12-09 23:56:27 UTC
I have three systems (two i386, one x86-64) on which glibc-2.7 fails to compile, all with the same error:

x86_64-pc-linux-gnu-gcc ../sysdeps/i386/fpu/s_frexp.S -c -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/math -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/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -DASSEMBLER  -DGAS_SYNTAX  -Wa,--noexecstack -Wa,--noexecstack  -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/math/s_frexp.os -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/math/s_frexp.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/math/s_frexp.os
../sysdeps/i386/fpu/s_frexp.S: Assembler messages:
../sysdeps/i386/fpu/s_frexp.S:66: Error: invalid identifier for ".ifdef"
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: unrecognized symbol type ""
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: expected comma after name `' in .size directive
../sysdeps/i386/fpu/s_frexp.S:66: Error: ".endif" without ".if"
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk `.get_pc_thunk.dx' after expression

I put the relevant info (build.log, environment, emerge --info, make.conf) for each of the three systems up at:
  http://www.lwithers.me.uk/usr/share/gentoo-bugs/2007-12-09--glibc-2.7/

Let me know if more data is needed.

This would appear to be connected to this bug:
  http://sourceware.org/bugzilla/show_bug.cgi?id=5283
Comment 1 SpanKY gentoo-dev 2007-12-10 01:01:29 UTC
post all relevant information in the bug, not in external URIs.  post the full build log as an attachment, not just a small snippet.

the __i686 issue was fixed a long time ago (over a year and a half ago).  it only came up on systems where the user had changed how their gcc compiled.
Comment 2 Laurence Withers 2007-12-10 12:09:57 UTC
Created attachment 138154 [details]
build.log from chrysocolla
Comment 3 Laurence Withers 2007-12-10 12:10:17 UTC
Created attachment 138155 [details]
emerge --info from chrysocolla
Comment 4 Laurence Withers 2007-12-10 12:10:41 UTC
Created attachment 138157 [details]
environment from chrysocolla
Comment 5 Laurence Withers 2007-12-10 12:10:56 UTC
Created attachment 138159 [details]
make.conf from chrysocolla
Comment 6 Laurence Withers 2007-12-10 12:11:24 UTC
Created attachment 138161 [details]
build.log from molybdenum
Comment 7 Laurence Withers 2007-12-10 12:11:40 UTC
Created attachment 138162 [details]
emerge --info from molybdenum
Comment 8 Laurence Withers 2007-12-10 12:11:57 UTC
Created attachment 138164 [details]
environment from molybdenum
Comment 9 Laurence Withers 2007-12-10 12:12:13 UTC
Created attachment 138165 [details]
make.conf from molybdenum
Comment 10 Laurence Withers 2007-12-10 12:12:41 UTC
Created attachment 138169 [details]
build.log from roentgenium
Comment 11 Laurence Withers 2007-12-10 12:12:55 UTC
Created attachment 138171 [details]
emerge --info from roentgenium
Comment 12 Laurence Withers 2007-12-10 12:13:13 UTC
Created attachment 138173 [details]
environment from roentgenium
Comment 13 Laurence Withers 2007-12-10 12:13:31 UTC
Created attachment 138175 [details]
make.conf from roentgenium
Comment 14 Laurence Withers 2007-12-10 12:16:46 UTC
I hope this information is what you need, and that it's OK for me to re-open the bug report.

When you mention that "it only came up on systems where the user had changed how their gcc compiled.", I wonder what you mean? I have the vanilla use flag turned on in gcc, binutils etc. Otherwise I don't think I've done anything odd.

Further, glibc-2.7 does compile on the other three systems I maintain, which I don't think I've done anything particularly different on (the other three all have X on I suppose, but I can't see that making a difference).
Comment 15 SpanKY gentoo-dev 2007-12-10 16:58:16 UTC
USE=vanilla is provided as a reference.  of course you're going to get a glibc build failure if you have this turned on because you just told the ebuild not to apply the patch that fixes the problem you're hitting.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2007-12-24 07:53:57 UTC
*** Bug 203205 has been marked as a duplicate of this bug. ***
Comment 17 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-09 17:50:49 UTC
*** Bug 261681 has been marked as a duplicate of this bug. ***
Comment 18 SpanKY gentoo-dev 2009-03-15 21:09:12 UTC
*** Bug 262520 has been marked as a duplicate of this bug. ***
Comment 19 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-29 15:05:32 UTC
*** Bug 263862 has been marked as a duplicate of this bug. ***
Comment 20 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-29 15:06:07 UTC
*** Bug 264183 has been marked as a duplicate of this bug. ***
Comment 21 Peter Alfredsen (RETIRED) gentoo-dev 2009-09-11 06:45:44 UTC
*** Bug 284502 has been marked as a duplicate of this bug. ***
Comment 22 Simon Thum 2010-01-26 18:18:40 UTC
I understand why +vanilla doesn't work, but is there some way to know the smallest patchset deemed neccessary to build at all?

I'm currently doing trial-and-error to find it. The basic problem is I suspect some patches to cause problems, so I try to be as close to vanilla as can be.
Comment 23 SpanKY gentoo-dev 2011-11-28 18:44:57 UTC
*** Bug 325607 has been marked as a duplicate of this bug. ***
Comment 24 SpanKY gentoo-dev 2011-11-28 18:45:01 UTC
*** Bug 392231 has been marked as a duplicate of this bug. ***