[MacPorts] #36026: ld64 sometimes builds wrong which causes other software to fail to build

MacPorts noreply at macports.org
Sat Sep 22 19:37:30 PDT 2012


#36026: ld64 sometimes builds wrong which causes other software to fail to build
-------------------------+------------------------
  Reporter:  jwhowse4@…  |      Owner:  jeremyhu@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.1.2
Resolution:              |   Keywords:
      Port:  ld64        |
-------------------------+------------------------

Comment (by jwhowse4@…):

 Replying to [comment:57 jeremyhu@…]:
 > No, that is helpful information to note.  So your ld-configure.h is
 correct but the built ld is wrong... I was hoping that there was a
 configure.h somewhere which may have been pulled in instead.  It was a
 stab in the dark =/
 >
 > I haven't been able to reproduce this with those examples on my ML or
 Lion machine.
 >
 > Would you be able to send me (dropbox or other means?) a tarball of your
 /opt/macports-test as they are in the step right before you install
 llvm-3.1 for each of your example cases?
 >
 > Can you please attach the build log for ld64 in the working and broken
 case?
 >
 > Can you attach preprocessed source for both the good and bad cases for
 macho_relocatable_file.cpp and src/ld/OutputFile.cpp?  As an example for
 producing the preprocessed source, look at the build log and change the
 "-c -o src/ld/OutputFile.o" of the build line to "-E -o
 ~/Desktop/OutputFile.working.cpp"


 Sorry about the delay, other things have demanded my attention.  All of my
 current results are after upgrading to XCode 4.5.0 which just to spoil the
 surprise has not fixed my problem.  After the XCode upgrade both my
 previous build examples produce linkers which fail on my simple test
 problem, but they still produce two different linkers.  So I have attached
 two TAR files containing the ld64 build log and the
 macho_relocatable_file(.cpp.h.o) and OutputFile(.cpp.h.o) for both build
 examples.  I am working on getting my DropBox account in order so I can
 share the complete macports distributions for both build examples just
 prior to the llvm install.

-- 
Ticket URL: <https://trac.macports.org/ticket/36026#comment:69>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list