public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/701] New: glibc does not compile with gcc-3.4.3 and binutils 2.15
@ 2005-02-01  0:53 tg42 at gmx dot de
  2005-02-14 12:11 ` [Bug libc/701] " gotom at debian dot or dot jp
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tg42 at gmx dot de @ 2005-02-01  0:53 UTC (permalink / raw)
  To: glibc-bugs

configuration with

../configure --prefix=/usr --sysconfdir=/etc --enable-shared --disable-static
--disable-profile --disable-debug --enable-threads --with-tls
--enable-add-ons=nptl --enable-kernel=2.6.10 --with-headers=/usr/src/linux/include

and subsequent compilation on a Pentium-III system running Linux 2.6.10 kernel,
gcc 3.4.3, binutils 2.15 and make 3.79.1 (which configure considers being "ok")
yields a compile error in setjmp.s:

/usr/bin/gcc ../sysdeps/i386/elf/setjmp.S -c -I../include -I.
-I/home/thomas/gnu/glibc-2.3.4/p3-nptl/setjmp -I.. -I../libio -I../nptl
-I/home/thomas/gnu/glibc-2.3.4/p3-nptl -I../sysdeps/i386/elf
-I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -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/i386/i686 -I../nptl/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486
-I../sysdeps/i386/fpu -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 -nostdinc -isystem
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include -isystem /usr/src/linux/include
-D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h
-DASSEMBLER -DGAS_SYNTAX -Wa,--noexecstack -o
/home/thomas/gnu/glibc-2.3.4/p3-nptl/setjmp/setjmp.o -MD -MP -MF
/home/thomas/gnu/glibc-2.3.4/p3-nptl/setjmp/setjmp.o.dt -MT
/home/thomas/gnu/glibc-2.3.4/p3-nptl/setjmp/setjmp.o
../sysdeps/i386/elf/setjmp.S: Assembler messages:
../sysdeps/i386/elf/setjmp.S:63: Error: junk at end of line, first unrecognized
character is `1'
../sysdeps/i386/elf/setjmp.S:64: Error: junk at end of line, first unrecognized
character is `1'
../sysdeps/i386/elf/setjmp.S:65: Error: junk at end of line, first unrecognized
character is `1'
../sysdeps/i386/elf/setjmp.S:66: Error: unrecognized symbol type ""
../sysdeps/i386/elf/setjmp.S:66: Error: junk at end of line, first unrecognized
character is `1'
../sysdeps/i386/elf/setjmp.S:67: Error: junk at end of line, first unrecognized
character is `1'
../sysdeps/i386/elf/setjmp.S:70: Error: expected comma after name `' in .size
directive

The reason is cpp replacing __i686 with 1.

-- 
           Summary: glibc does not compile with gcc-3.4.3 and binutils 2.15
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: critical
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: tg42 at gmx dot de
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=701

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/701] glibc does not compile with gcc-3.4.3 and binutils 2.15
  2005-02-01  0:53 [Bug libc/701] New: glibc does not compile with gcc-3.4.3 and binutils 2.15 tg42 at gmx dot de
@ 2005-02-14 12:11 ` gotom at debian dot or dot jp
  2005-02-15  8:36 ` duncan_roe at acslink dot net dot au
  2005-07-21 18:22 ` rmathew at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: gotom at debian dot or dot jp @ 2005-02-14 12:11 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From gotom at debian dot or dot jp  2005-02-14 12:11 -------
I have no problem to compile your configure option.
In addition, it's compilation failure report, so I mark it as duplicate.

*** This bug has been marked as a duplicate of 333 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://sources.redhat.com/bugzilla/show_bug.cgi?id=701

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/701] glibc does not compile with gcc-3.4.3 and binutils 2.15
  2005-02-01  0:53 [Bug libc/701] New: glibc does not compile with gcc-3.4.3 and binutils 2.15 tg42 at gmx dot de
  2005-02-14 12:11 ` [Bug libc/701] " gotom at debian dot or dot jp
@ 2005-02-15  8:36 ` duncan_roe at acslink dot net dot au
  2005-07-21 18:22 ` rmathew at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: duncan_roe at acslink dot net dot au @ 2005-02-15  8:36 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |duncan_roe at acslink dot
                   |                            |net dot au


http://sources.redhat.com/bugzilla/show_bug.cgi?id=701

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/701] glibc does not compile with gcc-3.4.3 and binutils 2.15
  2005-02-01  0:53 [Bug libc/701] New: glibc does not compile with gcc-3.4.3 and binutils 2.15 tg42 at gmx dot de
  2005-02-14 12:11 ` [Bug libc/701] " gotom at debian dot or dot jp
  2005-02-15  8:36 ` duncan_roe at acslink dot net dot au
@ 2005-07-21 18:22 ` rmathew at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rmathew at gmail dot com @ 2005-07-21 18:22 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From rmathew at gmail dot com  2005-07-21 18:22 -------
FWIW, I am guessing that you have compiled your GCC with something like
"--with-arch=pentium3" or that you are using the "-march=pentium3" GCC option.
This causes "__i686" and "__i686__" to become built-in defines and results in
the problem you see. One workaround is to use an explicit "-march=i386
-mtune=pentium3" with GCC while compiling glibc. For example:

  CC='gcc -march=i386 -mtune=pentium3' /path/to/glibc/configure --prefix=/usr...

I hope this helps.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=701

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-21 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-01  0:53 [Bug libc/701] New: glibc does not compile with gcc-3.4.3 and binutils 2.15 tg42 at gmx dot de
2005-02-14 12:11 ` [Bug libc/701] " gotom at debian dot or dot jp
2005-02-15  8:36 ` duncan_roe at acslink dot net dot au
2005-07-21 18:22 ` rmathew at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).