bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/5035] x86_64-pc-mingw32-as.exe failed to work


From: drangon dot mail at gmail dot com
Subject: [Bug gas/5035] x86_64-pc-mingw32-as.exe failed to work
Date: 16 Sep 2007 06:47:13 -0000

------- Additional Comments From drangon dot mail at gmail dot com  2007-09-16 
06:47 -------
the testcase t1.c t2.s t2.cpp t2.s has upload as attachment
/c/tools/target.old/bin/as.exe is the native x86_64-pc-mingw32 execute file
compile from CVS head by cross compiler.
/c/tools/target/bin/as.exe is like the above, but comment out the line 780,
remove the "know( xxxx < sizeof(long) );" code.

the running result is :

address@hidden /c/temp/tmingw
$ /c/tools/target/bin/x86_64-pc-mingw32-gcc.exe -S t1.c 

address@hidden /c/temp/tmingw
$ /c/tools/target.old/bin/as.exe t1.s -o t1.o
t1.s: Assembler messages:
t1.s:2: Internal error!
Assertion failure in obj_coff_endef at ../../src/gas/config/obj-coff.c line 780.
Please report this bug.

address@hidden /c/temp/tmingw
$ /c/tools/target/bin/as.exe t1.s -o t1.o

address@hidden /c/temp/tmingw
$ /c/tools/target/bin/x86_64-pc-mingw32-g++.exe -S t2.cpp   

address@hidden /c/temp/tmingw
$ /c/tools/target.old/bin/as.exe t2.s -o t2.o
t2.s: Assembler messages:
t2.s:2: Internal error!
Assertion failure in obj_coff_endef at ../../src/gas/config/obj-coff.c line 780.
Please report this bug.

address@hidden /c/temp/tmingw
$ /c/tools/target/bin/as.exe t2.s -o t2.o                
t2.s: Assembler messages:
t2.s:67: Error: unknown pseudo-op: `.hidden'


"../../src/gas/config/obj-coff.c line 780" seems to be binutils's bug.
but for "unknown pseudo-op: `.hidden'", it seems that g++ generate wrong asm,



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5035

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]