fromGoogleCode / mclinker

Automatically exported from code.google.com/p/mclinker
Other
0 stars 0 forks source link

Bug of unsupported section `.symtab_shndx' (type 18) #151

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

$ ld.mcld -m armelf_linux_eabi -Bsymbolic --eh-frame-hdr -X ~/obj.o -o ~/output

What is the expected output? What do you see instead?

Since I take out some command, we should get lots of undefined references.
But before that, we got Fatal: unsupported section `.symtab_shndx' (type 18)

NDK's arm-gold an arm-bfd works well. (No unsupported section error)

What version of the product are you using? On what operating system?

MCLinker 2.4, Linux, x64_86, 
Thanks.

Original issue reported on code.google.com by wenhan...@gmail.com on 26 Jun 2013 at 7:23

GoogleCodeExporter commented 9 years ago
The file is too large to upload. Here's the link:
https://docs.google.com/file/d/0BwR5L-mAgdKlZTBxNXJaVnlLUXM/edit

Only the un-stripped version will fail.

Original comment by wenhan...@gmail.com on 26 Jun 2013 at 7:26

GoogleCodeExporter commented 9 years ago
Although LLVM generates .symtab_shndx accidentally (possible a bug).
We don't want use other linkers to workaround this issue.
It will be helpful if we can bypass this error.

Original comment by ras46....@gmail.com on 5 Aug 2013 at 1:58

GoogleCodeExporter commented 9 years ago
Was this fixed by 
https://code.google.com/p/mclinker/source/detail?r=ecd909c85aa0de421dc51c3e66e72
6185c6343a6 ?

Original comment by joerg.sonnenberger@googlemail.com on 9 Aug 2013 at 7:04

GoogleCodeExporter commented 9 years ago
Hi Peter,

Can we close this issue?

Original comment by LubaTang on 11 Aug 2013 at 9:17