This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problems with locale.cc


> After working around the first problem, I ran 
> into the next. Using '-fstrict-aliasing -fno-

Please send your patch for working around the first problem.

> honor-std', I get the failure in locale-inst.cc 
> listed below:

Native linux egcs snapshots have no problems with:

%c++ -DHAVE_CONFIG_H -I. -I../../src.libstdc++/src -I.. -nostdinc++
-I../../src.libstdc++ -I../../src.libstdc++/stl
-I../../src.libstdc++/libio -g -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -fimplicit-templates -fstrict-aliasing
-fno-honor-std -c -fPIC -DPIC ../../src.libstdc++/src/locale-inst.cc -o
locale-inst.lo

And likewise with a native 1.1.2 compiler:
%$ncomp/H-x86-egcs-1.1.2/bin/g++ -DHAVE_CONFIG_H -I.
-I../../src.libstdc++/src -I.. -nostdinc++ -I../../src.libstdc++
-I../../src.libstdc++/stl -I../../src.libstdc++/libio -g -fvtable-thunks
-D_GNU_SOURCE -fno-implicit-templates -fimplicit-templates
-fstrict-aliasing -fno-honor-std -c -fPIC -DPIC
../../src.libstdc++/src/locale-inst.cc -o locale-inst.lo

So perhaps this is platform-specific?
-Benjamin



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]