[Bug ld/21705] ld disappears up own butt never to return (a curious case?)

2017-07-04 Thread mick.pearson at wildblue dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=21705 Mick Pearson changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug gas/21700] powerpc-ibm-aix6.1.0.0 fails with unresolved symbols

2017-07-04 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21700 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ld/21705] ld disappears up own butt never to return (a curious case?)

2017-07-04 Thread mick.pearson at wildblue dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=21705 --- Comment #6 from Mick Pearson --- /bin/ranlib: libcolladadom3D-big-obj.a(viewer_base.lite.cpp.o): warning: COMDAT symbol '.rdata$_ZTVN12ColladaDOM_34DAEP9ElementalINS_9Collada0825__cg_param_group__float__ENS0_7ElementEEE' does not match sec

[Bug ld/21703] The first symbol definition is overwritten by second definition when --allow-multiple-definition is provieded

2017-07-04 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21703 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ld/21703] The first symbol definition is overwritten by second definition when --allow-multiple-definition is provieded

2017-07-04 Thread renlin.li at arm dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21703 --- Comment #6 from Renlin Li --- I create a test case to show the bug. arm-none-eabi-gcc main_arm.c -O2 -march=armv7-a -mfloat-abi=softfp -specs=aprofile-validation.specs -c -o main_arm.o arm-none-eabi-gcc -O2 -mthumb -march=armv7-a -mfloat

[Bug ld/21703] The first symbol definition is overwritten by second definition when --allow-multiple-definition is provieded

2017-07-04 Thread renlin.li at arm dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21703 --- Comment #5 from Renlin Li --- Created attachment 10244 --> https://sourceware.org/bugzilla/attachment.cgi?id=10244&action=edit main_arm.c -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug ld/21703] The first symbol definition is overwritten by second definition when --allow-multiple-definition is provieded

2017-07-04 Thread renlin.li at arm dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21703 --- Comment #4 from Renlin Li --- Created attachment 10243 --> https://sourceware.org/bugzilla/attachment.cgi?id=10243&action=edit foo_thumb.c -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/21703] The first symbol definition is overwritten by second definition when --allow-multiple-definition is provieded

2017-07-04 Thread renlin.li at arm dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21703 --- Comment #3 from Renlin Li --- Created attachment 10242 --> https://sourceware.org/bugzilla/attachment.cgi?id=10242&action=edit foo_arm.c -- You are receiving this mail because: You are on the CC list for the bug. __

[Bug ld/21705] ld disappears up own butt never to return (a curious case?)

2017-07-04 Thread mick.pearson at wildblue dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=21705 --- Comment #5 from Mick Pearson --- EDITED: I solved the truly confusing problems by moving the main (shared library) in the link order to be behind the executable components. (I think the GNU community would be wise to circle the linker bac

[Bug ld/21705] ld disappears up own butt never to return (a curious case?)

2017-07-04 Thread mick.pearson at wildblue dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=21705 --- Comment #4 from Mick Pearson --- Thanks Alan, I know this isn't exactly a help desk; but I hope there are others here who might help me. A problem I run into is almost all talk about "undefined reference" diagnostics devolves into, "you n

[Bug ld/21703] The first symbol definition is overwritten by second definition when --allow-multiple-definition is provieded

2017-07-04 Thread renlin.li at arm dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21703 --- Comment #2 from Renlin Li --- (In reply to Alan Modra from comment #1) > When you say "the first definition is from the library", I assume you're > talking about a shared library. If so, a later definition for the same > symbol in a regul

some problem about libbfd

2017-07-04 Thread 骆宇冲
When I'm using libbfd(bfd.h), I met some problems. I wrote a simple file(test.cpp) and compiled it successfully. Then I ran 'objdump test' and I got all infomation(etc. sections syms) correctly. I installed binutils on my server, and built a check_test.cpp just like what objdump.c do. When I ran

[Bug gas/21700] powerpc-ibm-aix6.1.0.0 fails with unresolved symbols

2017-07-04 Thread james.reynolds at cristie dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21700 James Reynolds changed: What|Removed |Added CC||james.reynolds at cristie dot com -

[Bug ld/21705] ld disappears up own butt never to return (a curious case?)

2017-07-04 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21705 --- Comment #3 from Alan Modra --- With regard to Y_UP, you may be in trouble due to compiling without optimization. See https://sourceware.org/ml/binutils/2012-12/msg00088.html for example, where I'm being schooled about this. (I only pret