Configured with: ./gcc-3.4.3/configure --prefix=/usr --enable-shared
--enable-threads --enable-languages=c,c++ --program-suffix=3.4.3
--enable-version-specific-runtime-libs
Thread model: posix
gcc version 3.4.3

binutils 2.15
linux 2.6.11 on pentium-m
---

when building glibc-2.3.4, with CFLAGS="-O3 -march=pentium-m -mmmx -msse -msse2
-mfpmath=sse" everything is built with no apparent failures but when i run the
elf/ldconfig from the newly built src i get a segv in convert_options()

however, if the CFLAGS have the reference to "-march=pentium-m" and "-msse2"
dropped, a rebuild does not cause elf/ldconfig to segv.

is this a bug in the optimisation for pentium-m?

i have tried adding back "-march=pentium3" and that does not generate a ldconfig
that segvs

glibc that was configure to produce the error was:

CFLAGS="-O3 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse" \
./glibc-2.3.4/configure --prefix=/usr --sysconfdir=/etc \
--enable-add-ons=nptl --with-tls --with-__thread --enable-bind-now

-- 
           Summary: [ gcc 3.4.3 ]  glibc 2.3.4 ldconfig segv when building
                    with -march=pentium-m
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: whatdoineed2do at yahoo dot co dot uk
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: linux ia32
GCC target triplet: linux ia32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20569

Reply via email to