ld error/warning messages
Steve Ellcey
sellcey@cavium.com
Tue Feb 27 00:24:00 GMT 2018
More information about the Binutils mailing list
Tue Feb 27 00:24:00 GMT 2018
- Previous message (by thread): ld error/warning messages
- Next message (by thread): ld error/warning messages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alan, I think this change caused a failure of g++.dg/other/anon5.C in the GCC testsuite.  On my Aarch64 system; I was getting: /tmp/ccuhtBd3.o: In function `f()': /home/sellcey/tot/anon5.C:18: undefined reference to `(anonymous namespace)::c::t' /home/sellcey/tot/anon5.C:18: undefined reference to `(anonymous namespace)::c::t' collect2: error: ld returned 1 exit status And now I get: /home/sellcey/tot/install/lib/gcc/aarch64-linux- gnu/8.0.1/../../../../aarch64-linux-gnu/bin/ld: /tmp/ccedsFID.o: in function `f()': /home/sellcey/tot/anon5.C:18: undefined reference to `(anonymous namespace)::c::t' /home/sellcey/tot/install/lib/gcc/aarch64-linux- gnu/8.0.1/../../../../aarch64-linux-gnu/bin/ld: /home/sellcey/tot/anon5.C:18: undefined reference to `(anonymous namespace)::c::t' collect2: error: ld returned 1 exit status This is causing the test to fail with 'excess errors'. FAIL: g++.dg/other/anon5.C  -std=gnu++98 (test for excess errors) Excess errors: /home/sellcey/tot/install/aarch64-linux-gnu/bin/ld: /tmp/ccE5UDzm.o: in function `f()': It looks like the important difference is 'In function' (capital I) vs. 'in function' (lowercase i).  That is why this line is no longer getting pruned the way it did before. We could get the GCC testsuite to prune this line with a change to prune_gcc_output in gcc/testsuite/lib/prune.exp but I am not sure if that is what we want to do or if you meant to use a capital I in this case and the lower case i is a bug. Steve Ellcey sellcey@cavium.com
- Previous message (by thread): ld error/warning messages
- Next message (by thread): ld error/warning messages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list