[Bug ld/19030] ld generates .so/x86 with bad phdr so the Android linker won't dlopen

2015-10-02 Thread winter-...@bfw-online.de
https://sourceware.org/bugzilla/show_bug.cgi?id=19030 --- Comment #5 from winter-...@bfw-online.de --- > Yes, one dash or two makes a difference. Using single-dash arguments can then be considered pretty dangerous in ld since any small typo (or using a parameter that might only exist in some

[Bug ld/19030] ld generates .so/x86 with bad phdr so the Android linker won't dlopen

2015-10-01 Thread winter-...@bfw-online.de
https://sourceware.org/bugzilla/show_bug.cgi?id=19030 --- Comment #2 from winter-...@bfw-online.de --- Your analysis is correct, thank you. While "-nostdlib" actually is a ld option (at least in my ld according to --help and man page), I rechecked and noticed I passed another gcc parameter

[Bug ld/19030] ld generates .so/x86 with bad phdr so the Android linker won't dlopen

2015-10-01 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19030 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug ld/19030] ld generates .so/x86 with bad phdr so the Android linker won't dlopen

2015-10-01 Thread winter-...@bfw-online.de
https://sourceware.org/bugzilla/show_bug.cgi?id=19030 --- Comment #3 from winter-...@bfw-online.de --- Even worse, the actual error is the missing dash in the beginning. "--no-enum-size-warning" *is* a ld parameter but without the first dash it behaves like "-n". -- You are receiving this mail

[Bug ld/19030] ld generates .so/x86 with bad phdr so the Android linker won't dlopen

2015-10-01 Thread ian at airs dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19030 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment