Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-12-26 Thread Roland McGrath
> Where can I find more info about all of this anyway? You'll have to be a little more specific. You can start with the ELF spec to understand what relocs and dynamic relocs are all about. > Not much of what you have written in this thread makes much sense to me > since I have only a very va

Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-12-21 Thread Roland McGrath
I reproduced what you saw. The bogus resolution of the _exit refs is an ld bug. However, we should probably work around it by arranging that _exit be given a PLT slot. That is necessary for correctness if _exit can ever be called from ld.so after startup. It probably shouldn't ever be, but the

Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-12-19 Thread Alfred M. Szmidt
Poke, would be nice to have this solved by chirstmas. :-) And since I have no idea what I'm looking at or doing your help is invaluable. Cheers, and happy hacking! ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hur

Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-12-13 Thread Alfred M. Szmidt
> Nor am I exactly sure about how you would like the output from > this. Anyway, I did a `objdump -rd' on all the noted files, and > then greped it for _exit. That doesn't tell you anything useful about the symbols. Use --syms. Heres the output of objdump --syms on (I think) all

Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-12-12 Thread Roland McGrath
> Okie, I'm not exactly sure what files go into ld.so.1, but I'm > assuming that rtld-*.os and dl-*.os. You'll have to watch the make output and see the commands that make it. > Nor am I exactly sure about how you would like the output from this. > Anyway, I did a `objdump -rd' on all the noted f

Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-12-12 Thread Alfred M. Szmidt
[sorry for messing up the threading, but I had some smallish problems with my mail...] > objdump -rd ld.so.1: > > 1560 : [...] > 29c3:e8 fc ff ff ff call 29c4 [...] > objdump -rd rtld.os: > > 0570 : > [...snip...] >

Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-12-04 Thread Roland McGrath
> objdump -rd ld.so.1: > > 1560 : [...] > 29c3:e8 fc ff ff ff call 29c4 [...] > objdump -rd rtld.os: > > 0570 : > [...snip...] > 19d3:e8 fc ff ff ff call 19d4 > 19d4: R_386_PC32_exit [...] This indicates a problem

Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-12-01 Thread Alfred M. Szmidt
[Sorry for the late reply, busy with school.] The PC value suggests some botch relocation or something. Compare the last several instructions in your gdb disassembly there with what objdump -rd shows you on ld.so, and on the rtld.os file that went into making it. Alright, here is s t

Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-11-24 Thread Roland McGrath
The PC value suggests some botch relocation or something. Compare the last several instructions in your gdb disassembly there with what objdump -rd shows you on ld.so, and on the rtld.os file that went into making it. ___ Bug-hurd mailing list [EMAIL P

Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-11-24 Thread Santiago Vila
On Mon, 24 Nov 2003, Alfred M. Szmidt wrote: > ld.so.1 breaks a bit if you compile it with gcc 3.3.1 on GNU/Hurd, Please note that if you are using the Debian gcc packages, then it would be really gcc-3.3 version 3.3.2-3. On Debian, gcc_3.3.1-2 is a dependency package which does not contain anyth

Re: ld.so.1 broken with gcc 3.3.1 on GNU/Hurd

2003-11-24 Thread Alfred M. Szmidt
> ld.so.1 breaks a bit if you compile it with gcc 3.3.1 on > GNU/Hurd, Please note that if you are using the Debian gcc packages, then it would be really gcc-3.3 version 3.3.2-3. On Debian, gcc_3.3.1-2 is a dependency package which does not contain anything by itself. I don't use D