gcc-4.0.0 doesn't produce a valid assembler file

Ivan R ivanr@syncad.com
Fri Mar 11 16:10:00 GMT 2005


Hi,

gcc-4.0.0 doesn't produce a valid assembler file.
I didn't have this problems using gcc-3.4.2
Info at end of letter.

Sincerely,
Ivan R



version of GCC:
sparc-sun-solaris2.8-gcc-4.0.0 (GCC) 4.1.0 20050309 (experimental)

system type:
SunOS 5.8

GCC configure options:
./configure   --prefix=/usr/local/toolchain-4.0.0 --with-gnu-as --with-gnu-l
d --enable-languages=c,c++

command line:
g++ -v -save-temps -gstabs+ -fPIC -c -o -DUNIX -DUSING_STLPORT -I/home/lib/S
TLport/stlport sugarconverter.o sugarconverter.cpp

preprocessed file:
attached to letter

assembler file:
attached to letter

compiler output:
home/lib/STLport/stlport sugarconverter.o sugarconverter.cpp
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with:
../gcc/configure --prefix=/usr/local/toolchain-4.0.0 --with-gnu-as --with-gn
u-ld --enable-languages=c,c++
Thread model: posix
gcc version 4.1.0 20050309 (experimental)

/space/home/usr.local/toolchain-4.0.0/bin/../libexec/gcc/sparc-sun-solaris2.
8/4.1.0/cc1plus -E -quiet -v -I/home/lib/STLport/stlport -iprefix
/space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4.
1.0/ -DUSING_STLPORT
sugarconverter.cpp -mcpu=v7 -fPIC -fworking-directory -fpch-preprocess -o
sugarconverter.ii
ignoring nonexistent directory
"/space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4
.1.0/../../../../sparc-sun-solaris2.8/include"
ignoring duplicate directory
"/usr/local/toolchain-4.0.0/lib/gcc/sparc-sun-solaris2.8/4.1.0/../../../../i
nclude/c++/4.1.0"
ignoring duplicate directory
"/usr/local/toolchain-4.0.0/lib/gcc/sparc-sun-solaris2.8/4.1.0/../../../../i
nclude/c++/4.1.0/sparc-sun-solaris2.8"
ignoring duplicate directory
"/usr/local/toolchain-4.0.0/lib/gcc/sparc-sun-solaris2.8/4.1.0/../../../../i
nclude/c++/4.1.0/backward"
ignoring duplicate directory
"/usr/local/toolchain-4.0.0/lib/gcc/sparc-sun-solaris2.8/4.1.0/include"
ignoring nonexistent directory
"/usr/local/toolchain-4.0.0/lib/gcc/sparc-sun-solaris2.8/4.1.0/../../../../s
parc-sun-solaris2.8/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/lib/STLport/stlport

/space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4.
1.0/../../../../include/c++/4.1.0

/space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4.
1.0/../../../../include/c++/4.1.0/sparc-sun-solaris2.8

/space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4.
1.0/../../../../include/c++/4.1.0/backward

/space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4.
1.0/include
 /usr/local/include
 /usr/local/toolchain-4.0.0/include
 /usr/include
End of search list.
sugarconverter.cpp:4:10: warning: #pragma once in main file

/space/home/usr.local/toolchain-4.0.0/bin/../libexec/gcc/sparc-sun-solaris2.
8/4.1.0/cc1plus -fpreprocessed sugarconverter.ii -quiet -dumpbase
sugarconverter.cpp -mcpu=v7 -auxbase-strip -DUNIX -gstabs+ -version -fPIC -o
sugarconverter.s
GNU C++ version 4.1.0 20050309 (experimental) (sparc-sun-solaris2.8)
        compiled by GNU C version 4.0.0 20050221 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

/space/home/usr.local/toolchain-4.0.0/bin/../lib/gcc/sparc-sun-solaris2.8/4.
1.0/../../../../sparc-sun-solaris2.8/bin/as -V -Qy -s -K
PIC -xarch=v8 -o -DUNIX sugarconverter.s
GNU assembler version 2.14 (sparc-sun-solaris2.8) using BFD version 2.14
20030612
sugarconverter.s: Assembler messages:
sugarconverter.s:888: Error: can't resolve `.text' {.text section} -
`_ZThn4_N15TSugarConverter5VisitEPK1A'
{.gnu.linkonce.t._ZThn4_N15TSugarConverter5VisitEPK1A section}
distcc[3959] ERROR: compile (NULL) on localhost failed




-------------- next part --------------
A non-text attachment was scrubbed...
Name: sugarconverter.gz.tar
Type: application/octet-stream
Size: 121150 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20050311/46fabfa5/attachment.obj>


More information about the Gcc-bugs mailing list