Opened 12 years ago

Closed 12 years ago

#34064 closed defect (fixed)

emacs: ld: unknown option: -no_pie

Reported by: informatimago (Pascal J. Bourguignon) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: emacs

Description (last modified by ryandesign (Ryan Carsten Schmidt))

[pjb@kuiper :0 ~]$ ssh neuron macosx-version
ssh neuron macosx-version
# system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: Mac OS X Server 10.5.8 (9L30)
      Kernel Version: Darwin 9.8.0
      Boot Volume: neuron
      Boot Mode: Normal
      Computer Name: neuron
      User Name: Pascal J. Bourguignon (pjb)
      Time since boot: 24 days 10:10

# sw_vers
ProductName:	Mac OS X Server
ProductVersion:	10.5.8
BuildVersion:	9L30
# xcodebuild -version
Xcode 3.1.1
Component versions: DevToolsCore-1114.0; DevToolsSupport-1102.0
BuildVersion: 9M2517

Attachments (1)

emacs-main.log (21.1 KB) - added by informatimago (Pascal J. Bourguignon) 12 years ago.
port install emacs log after port clean emacs.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to dports@…
Port: emacs added
Summary: port install emacs fails on Darwin 9.8.0emacs: ld: unknown option: -no_pie

Please use WikiFormatting.

Since this was not a clean build (the log contains "Skipping completed"), please "sudo port clean emacs" and try again, then attach the new main.log if it fails again.

comment:2 Changed 12 years ago by drkp (Dan Ports)

Cc: jeremyhu@… added

We used to only pass -Wl,-no-pie on Lion.

r91797 changed this to be for Leopard and higher. Shouldn't this be Lion and higher?

Changed 12 years ago by informatimago (Pascal J. Bourguignon)

Attachment: emacs-main.log added

port install emacs log after port clean emacs.

comment:3 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Owner: changed from dports@… to jeremyhu@…
Status: newassigned

Well, it should be used on whatever linkers support it, but it is default on SL and earlier.

I got this from the ld(1) manpage on Leopard which includes '-no_pie' even though it looks like /usr/bin/ld doesn't actually support it (based on a quick check of "strings" output... sigh).

comment:4 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

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