This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Error: junk at end of line (follow up)


Hi Dan,

I did a -save-temps and checked the .s file. The error seems to be
occuring wherever there is a mention of 13__type_traitsIbe,
13__type_traitsIhe, etc. and 11_Is_integerIme, 11_Is_integerIxe, etc.
Here are a few sample lines from the .s file which throw up errors:

.def	13__type_traitsIbE;	.scl	10;	.type	010;	.size	1;	.endef

.def	.eos;	.val	1;	.scl	102;	.tag	13__type_traitsIbE;	.size	1;	.endef


.def	11_Is_integerIbE;	.scl	13;	.tag	11_Is_integerIbE;	.size	1;	.type	010;	.endef

.def	11_Is_integerIcE;	.scl	10;	.type	010;	.size	1;	.endef



While going through the .s file, I noticed a few mentions of
St11__timepunctIcE, St7collateIcE, etc. These did not produce any
errors. So, I tried prepending an 'St' with all the error-producing
words, and then compiling the .s file.
This time, no errors were reported. However, I am unsure as to what
exactly the effects of the change would be, if at all it is what must be
done.

Please advise.

Thanks.

Albert.


-------- Original Message --------

Hi,

I am trying to build a sparc sun solaris hosted cross gcc for i686-coff
target. I have installed binutils and newlib. When I try to build gcc, I
get the following error message:

/usr/gnu/i686-coff-objdir/build-gcc/gcc/xgcc -shared-libgcc
-B/usr/gnu/i686-coff-objdir/build
-gcc/gcc/ -nostdinc++
-L/usr/gnu/i686-coff-objdir/build-gcc/i686-coff/libstdc++-v3/src -L/usr
/gnu/i686-coff-objdir/build-gcc/i686-coff/libstdc++-v3/src/.libs
-B/usr/gnu/i686-coff/i686-co
ff/bin/ -B/usr/gnu/i686-coff/i686-coff/lib/ -isystem
/usr/gnu/i686-coff/i686-coff/include -no
stdinc++
-I/usr/gnu/i686-coff-objdir/build-gcc/i686-coff/libstdc++-v3/include/i686-coff
-I/us
r/gnu/i686-coff-objdir/build-gcc/i686-coff/libstdc++-v3/include
-I/usr/gnu/srcdir/gcc-3.3.2/l
ibstdc++-v3/libsupc++ -I/usr/gnu/srcdir/gcc-3.3.2/libstdc++-v3/libmath
-g -O2 -fno-implicit-t
emplates -Wall -Wno-format -W -Wwrite-strings
-fdiagnostics-show-location=once -c /usr/gnu/sr
cdir/gcc-3.3.2/libstdc++-v3/src/bitset.cc -o bitset.o
/var/tmp//ccmD6WRe.s: Assembler messages:
/var/tmp//ccmD6WRe.s:279: Error: junk at end of line, first unrecognized
character is `1'
/var/tmp//ccmD6WRe.s:280: Error: junk at end of line, first unrecognized
character is `1'
...
...
...
/var/tmp//ccmD6WRe.s:365: Error: junk at end of line, first unrecognized
character is `1'
/var/tmp//ccmD6WRe.s:365: Error: junk at end of line, first unrecognized
character is `1'
*** Error code 1
make: Fatal error: Command failed for target `bitset.lo'
Current working directory
/usr/gnu/i686-coff-objdir/build-gcc/i686-coff/libstdc++-v3/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/usr/gnu/i686-coff-objdir/build-gcc/i686-coff/libstdc++-v3
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory
/usr/gnu/i686-coff-objdir/build-gcc/i686-coff/libstdc++-v3
*** Error code 1
make: Fatal error: Command failed for target `all-target-libstdc++-v3'

Please advise as to what must be done.

Thanks.

Albert.


-----------------------------------------------------------------------------------
This email was sent from IIT Guwahati Webmail.If you are not the
intended recipient, please contact the sender by email and delete all
copies; your cooperation in this regard is appreciated.
http://www.iitg.ernet.in



-----------------------------------------------------------------------------------
This email was sent from IIT Guwahati Webmail.If you are not the
intended recipient, please contact the sender by email and delete all
copies; your cooperation in this regard is appreciated.
http://www.iitg.ernet.in



-----------------------------------------------------------------------------------
This email was sent from IIT Guwahati Webmail.If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
http://www.iitg.ernet.in



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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