Ticket #34064 (closed defect: fixed)
emacs: ld: unknown option: -no_pie
| Reported by: | pjb@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.4 |
| Keywords: | Cc: | jeremyhu@… | |
| Port: | emacs |
Description (last modified by ryandesign@…) (diff)
[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
Change History
comment:1 Changed 13 months ago by ryandesign@…
- Port set to emacs
- Owner changed from macports-tickets@… to dports@…
- Description modified (diff)
- Summary changed from port install emacs fails on Darwin 9.8.0 to emacs: ld: unknown option: -no_pie
comment:2 Changed 13 months ago by dports@…
- 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 13 months ago by pjb@…
- Attachment emacs-main.log added
port install emacs log after port clean emacs.
comment:3 Changed 13 months ago by jeremyhu@…
- Status changed from new to assigned
- Owner changed from dports@… to jeremyhu@…
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).
Note: See
TracTickets for help on using
tickets.


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.