Opened 10 years ago

Closed 10 years ago

#11057 closed bug (fixed)

Disable TLS to prevent ARM build from failing

Reported by: arvindsraj Owned by: nobody
Priority: normal Milestone: R1
Component: - General Version: R1/Development
Keywords: gsoc2014 Cc:
Blocked By: Blocking:
Platform: arm

Description

Libtool fails to build saying there is no defined references to "_tls_get_addr". The patches to haiku source tree and cross ports that fix the issue are attached with this report.

Attachments (3)

disable-tls-haiku.patch (971 bytes ) - added by arvindsraj 10 years ago.
disable-tls-haikuports.cross.patch (1.0 KB ) - added by arvindsraj 10 years ago.
Fixed-hrev47542-changeset-to-become-sh-compatible.patch (945 bytes ) - added by arvindsraj 10 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 by arvindsraj, 10 years ago

patch: 01

by arvindsraj, 10 years ago

Attachment: disable-tls-haiku.patch added

by arvindsraj, 10 years ago

comment:3 by jessicah, 10 years ago

haiku patch applied in hrev47542.

comment:4 by waddlesplash, 10 years ago

Resolution: fixed
Status: newclosed

comment:5 by arvindsraj, 10 years ago

Resolution: fixed
Status: closedreopened

comment:6 by arvindsraj, 10 years ago

Turns out my fix merged in hrev47542 isn't sh compatible and thus doesn't fix the problem. I've added a revised patch that(I do admit doesn't look very beautiful but) does work. Since this is temporary, I felt it's better to not mix the flag with other flags since this is temporary.

comment:7 by jessicah, 10 years ago

You can actually do foo="$foo --bar". I've edited it thusly in the patch, and applied in hrev47542.

Version 0, edited 10 years ago by jessicah (next)

comment:8 by ithamar, 10 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.