[Bug gold/10125] New: Fail to link "chained" shared objects

2009-05-03 Thread bugmenot at mailinator dot com
See this simple example (with the old GNU ld): $ cat a.c #include void hello(void) { printf("hello\n"); } $ cat b.c void hello(void); void say_hello(void) { hello(); } $ cat c.c void say_hello(void); int main() { say_hello(); return 0; } $ gcc -fPIC -share

[Bug gold/10125] Fail to link "chained" shared objects

2009-05-03 Thread bugmenot at mailinator dot com
--- Additional Comments From bugmenot at mailinator dot com 2009-05-04 00:12 --- Never mind, this was a stripped down testcase from a bigger problem which was wrong. -- What|Removed |Added -

[Bug gold/10126] New: internal error in relocate_sections, at ../../gold/reloc.cc:737

2009-05-03 Thread bugmenot at mailinator dot com
When used through the DMD D2 (2.029) compiler[1] to compile even the simplest program I get the error: /usr/bin/ld: internal error in relocate_sections, at ../../gold/reloc.cc:737 collect2: ld returned 1 exit status Here is the D trivial program: module hello; void main(char[][] args) { } Thi

[Bug ld/10073] R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c

2009-05-03 Thread JayS at spectralogic dot com
--- Additional Comments From JayS at spectralogic dot com 2009-05-04 03:50 --- Subject: RE: R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c Owen, Nick, et. al., I've been working towards the same objective and stumbled across your post. I tried Nick's fix of 4/21 and had simi