--- Additional Comments From ian at airs dot com 2009-05-04 23:12 ---
I am not familiar with this compiler. How are the object files in question
being generated? Are they being generated by the GNU assembler, by some other
assembler, or by the compiler directly?
The error message is a
--
What|Removed |Added
Status|ASSIGNED|WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=10126
--- You are receiving this mail because: ---
--- Additional Comments From bugmenot at mailinator dot com 2009-05-10
04:24 ---
Created an attachment (id=3929)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3929&action=view)
Object file example
Here is an example object. I'm pretty sure the compiler generates the binary.
The
--
What|Removed |Added
CC||llucax at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10126
--- You are receiving this m
--- Additional Comments From ian at airs dot com 2009-06-23 06:49 ---
Sorry for not getting back to this sooner. Thanks for attaching the object
file. The object file you attached does indeed have an e_ehsize field with a
value of 36. The e_ehsize field is supposed to hold the size of
--- Additional Comments From llucax at gmail dot com 2009-06-23 12:58
---
Ok, thanks for taking the time to analyze this. I'll pass this information to
the compiler writer.
What about the internal error in Gold? Even if it's triggered by a problem in
the object file, it's not a bug? If
--- Additional Comments From ian at airs dot com 2009-06-23 13:26 ---
That's true, the internal error should be fixed, if it still happens. I wasn't
able to recreate it with the single object file you sent, though.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10126
--- You
--- Additional Comments From llucax at gmail dot com 2009-06-23 14:06
---
Ok, I reopen the bug then.
The internal error appeared in a big build, I'll try to see if I can reproduce
it again and comment the steps to do it.
--
What|Removed |Added
--
--- Additional Comments From llucax at gmail dot com 2009-06-23 14:14
---
Seeing the original bug description, I now remember how to reproduce it (it's
there =).
You just have to download the DMD compiler and try to compile/link the trivial
program in the bug description. The compiler i
--- Additional Comments From ian at airs dot com 2009-06-24 03:33 ---
Thanks for the description. I'm not willing to download source code that is not
free as in speech, especially not a compiler and tools that create object files.
If you could perhaps put together a tarball of objects f
--- Additional Comments From llucax at gmail dot com 2009-06-24 03:53
---
You can download the zip and just extract the dmd/linux/lib/libphobos2.a file.
I can successfully reproduce the bug doing:
ld -o x hello.o libphobos2.a
If you don't want to download the zip file at all, I can u
--- Additional Comments From ian at airs dot com 2009-06-24 05:07 ---
I apologize for my caution, but there just aren't any good endgames for me or my
employer if somebody gets sticky about my looking at proprietary code. I'm not
going to download the whole zip file. Can you attach the
--- Additional Comments From llucax at gmail dot com 2009-06-24 13:45
---
Created an attachment (id=4018)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4018&action=view)
Compressed offending library
Attached is the (bzip2) compressed offending library libphobos2.a.
--
http:
--- Additional Comments From ian at airs dot com 2009-06-24 21:00 ---
Thanks for attaching the library.
Unfortunately, I can't recreate the problem. I get lots of "bad e_ehsize (36 !=
52)" errors. However, I don't get the internal error.
I'm using the current development sources. It'
--- Additional Comments From llucax at gmail dot com 2009-06-25 13:25
---
Ok, using 2.19.51.20090613-1 (Debian "experimental" package) I can still
reproduce it, the line in the error message changes, though:
/usr/bin/ld: internal error in relocate_sections, at ../../gold/reloc.cc:842
I
--- Additional Comments From llucax at gmail dot com 2009-07-07 23:26
---
I do confirm that this bug seems to be fixed in svn trunk as of 20090704.
Thank you.
--
What|Removed |Added
16 matches
Mail list logo