[Bug target/66579] New: frv target: -gsplit-dwarf confuses assembler
nicstange at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 17 23:35:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66579
Bug ID: 66579
Summary: frv target: -gsplit-dwarf confuses assembler
Product: gcc
Version: 5.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: nicstange at gmail dot com
Target Milestone: ---
Created attachment 35797
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35797&action=edit
Testcase
Adding `-gsplit-dwarf' leads to doubly defined symbols even in trivial
testcases (see attached).
# gcc-5.1.0/frv-linux/bin/frv-linux-gcc -c -gsplit-dwarf -o test.o test.c
/tmp/cc2kwvh4.s: Assembler messages:
/tmp/cc2kwvh4.s:225: Error: symbol `.LSLT0' is already defined
/tmp/cc2kwvh4.s:229: Error: symbol `.LASLTP0' is already defined
/tmp/cc2kwvh4.s:254: Error: symbol `.LELTP0' is already defined
/tmp/cc2kwvh4.s:255: Error: symbol `.LELT0' is already defined
# gcc-5.1.0/frv-linux/bin/frv-linux-gcc -v
Using built-in specs.
COLLECT_GCC=./gcc-5.1.0/frv-linux/bin/frv-linux-gcc
COLLECT_LTO_WRAPPER=/mnt/scratch/nic/cc/gcc-5.1.0/frv-linux/libexec/gcc/frv-linux/5.1.0/lto-wrapper
Target: frv-linux
Configured with: ../gcc-5.1.0/configure
--prefix=/mnt/scratch/nic/cc/gcc-5.1.0/frv-linux --target=frv-linux
--target=frv-linux --enable-targets=all --enable-languages=c --without-headers
--enable-sjlj-exceptions --with-system-libunwind --disable-nls
--disable-threads --disable-shared --disable-libmudflap --disable-libssp
--disable-libgomp --disable-decimal-float --enable-checking=release
--disable-bootstrap --disable-multilib --host=x86_64-linux-gnu
--build=x86_64-linux-gnu --with-newlib : (reconfigured) ../gcc-5.1.0/configure
--prefix=/mnt/scratch/nic/cc/gcc-5.1.0/frv-linux --target=frv-linux
--target=frv-linux --enable-targets=all --enable-languages=c --without-headers
--enable-sjlj-exceptions --with-system-libunwind --disable-nls
--disable-threads --disable-shared --disable-libmudflap --disable-libssp
--disable-libgomp --disable-decimal-float --enable-checking=release
--disable-bootstrap --disable-multilib --host=x86_64-linux-gnu
--build=x86_64-linux-gnu --with-newlib --disable-libquadmath : (reconfigured)
../gcc-5.1.0/configure --prefix=/mnt/scratch/nic/cc/gcc-5.1.0/frv-linux
--target=frv-linux --target=frv-linux --enable-targets=all --enable-languages=c
--without-headers --enable-sjlj-exceptions --with-system-libunwind
--disable-nls --disable-threads --disable-shared --disable-libmudflap
--disable-libssp --disable-libgomp --disable-decimal-float
--enable-checking=release --disable-bootstrap --disable-multilib
--host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-newlib
--disable-libquadmath --disable-libatomic
Thread model: single
gcc version 5.1.0 (GCC)
More information about the Gcc-bugs
mailing list