This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12144 - Use -fPIC -fvisibility=hidden for 32 bit x86 builds too to fix link errors.
Attached to Project:
Rockbox
Opened by Nils Wallménius (nls) - Wednesday, 01 June 2011, 11:45 GMT+2
Last edited by Andree Buschmann (Buschel) - Friday, 24 June 2011, 10:59 GMT+2
Opened by Nils Wallménius (nls) - Wednesday, 01 June 2011, 11:45 GMT+2
Last edited by Andree Buschmann (Buschel) - Friday, 24 June 2011, 10:59 GMT+2
|
DetailsThis patch enables the -fPIC and -fvisibility=hidden options for 32 x86 builds, they were previously only used for 64 bit. This fixes or works around linker errors with recent binutils in debian but i'm unsure if there are any downsides to this
|
This task depends upon
Closed by Andree Buschmann (Buschel)
Friday, 24 June 2011, 10:59 GMT+2
Reason for closing: Accepted
Additional comments about closing: Latest fixes for cygwin and win32 corss-compiliation under Linux have been submitted.
Friday, 24 June 2011, 10:59 GMT+2
Reason for closing: Accepted
Additional comments about closing: Latest fixes for cygwin and win32 corss-compiliation under Linux have been submitted.
Works fine on both 64 and 32 bit sims here. Dunno about other platforms that use "-shared" like maemo and android.
Also it breaks on the sscanf hack in doom and rockboy, which should be fixed.
Edit: compile log attached.
I don't have a setup to test that stuff