New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34064 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

    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


emacs-main.log (21.1 KB) - added by pjb@… 4 years ago.
port install emacs log after port clean emacs.

Change History

comment:1 Changed 4 years ago by ryandesign@…

  • Owner changed from macports-tickets@… to dports@…
  • Port set to emacs
  • Description modified (diff)
  • Summary changed from port install emacs fails on Darwin 9.8.0 to emacs: 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 4 years 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 4 years ago by pjb@…

port install emacs log after port clean emacs.

comment:3 Changed 4 years ago by jeremyhu@…

  • Owner changed from dports@… to jeremyhu@…
  • Status changed from new to assigned

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 4 years ago by jeremyhu@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.