close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Opened 9 years ago

Closed 9 years ago

#112 closed defect (fixed)

PIE warning when saving a lisp executable

Reported by: Raymond Toy Owned by:
Priority: minor Milestone:
Component: Core Version: 20f
Keywords: Cc:

Description

In a very recent build

(save-lisp "cmucl.exe" :executable t)

produces this warning:

ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _call_into_c from /Volumes/share2/src/clnet/cmucl/dev/cmucl/dist-darwin/bin/./../lib/cmucl/lib/lisp.a(x86-assem.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

Change History (1)

comment:1 Changed 9 years ago by toy.raymond@…

Resolution: fixed
Status: newclosed

commit df425339e0cf09ef687c491e99f6c10238f56b85 Author: Raymond Toy <toy.raymond@…> Date: Sun Nov 30 20:11:18 2014 -0800

Fix ticket:112 by specifying -mmacosx-version-min=10.5 when linking the new executable.

Note: See TracTickets for help on using tickets.