Opened 2 years ago
Closed 2 years ago
#66253 closed defect (fixed)
wcslib fails on 10.5.8: ld: absolute addressing (perhaps -mdynamic-no-pic) used in _celset from cel.o not allowed in slidable image
Reported by: | barracuda156 | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | leopard | Cc: | |
Port: | wcslib |
Description
ld warning: codegen with reference kind 14 in _wcsutrne_scanner prevents image from loading in dyld shared cache ld: absolute addressing (perhaps -mdynamic-no-pic) used in _celset from cel.o not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs collect2: ld returned 1 exit status make[3]: *** [libwcs.7.12.dylib] Error 1 make[2]: *** [libwcs-7.12.a] Error 2 make[1]: *** [lib] Error 2
Initially I tried enabling universal variant, that failed, but turned out non-universal fails as well.
Attachments (1)
Change History (6)
Changed 2 years ago by barracuda156
comment:1 Changed 2 years ago by barracuda156
comment:2 Changed 2 years ago by barracuda156
Owner: | set to barracuda156 |
---|---|
Status: | new → assigned |
comment:3 follow-up: 4 Changed 2 years ago by kencu (Ken)
that is the standard fix, but only on certain archs and has to be different if muniversal is used.
grep the ports tree for others I fixed and copy the whole block.
comment:4 Changed 2 years ago by barracuda156
Replying to kencu:
that is the standard fix, but only on certain archs and has to be different if muniversal is used.
grep the ports tree for others I fixed and copy the whole block.
Thank you! Will check it now.
comment:5 Changed 2 years ago by barracuda156
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I will make a PR. Suggested by GCC fix works: