#52369 closed defect (fixed)
pypy tries to link to librt
Reported by: | stefan+macports@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | mamoll (Mark Moll) |
Port: | pypy |
Description
Trying to build pypy (on macOS sierra, maybe part of the problem) results in a build error while linking:
:info:build ld: library not found for -lrt :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make: *** [libpypy-c.dylib] Error 1 :info:build [4b3c2] translation-task}
Apparently, on macOS this library should not be linked to because the timing functions are mostly available in libSystem.
Attachments (1)
Change History (9)
comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)
Owner: | changed from macports-tickets@… to jmr@… |
---|---|
Port: | pypy added |
Version: | 2.3.4 |
Changed 8 years ago by mamoll (Mark Moll)
Attachment: | patch-Sierra.diff added |
---|
comment:3 Changed 8 years ago by mamoll (Mark Moll)
I have attached a proposed fix for this problem.
comment:4 Changed 8 years ago by mamoll (Mark Moll)
Keywords: | haspatch added |
---|
comment:5 Changed 8 years ago by seanfarley (Sean Farley)
Wow, I wrote the same patch and was in the middle of compiling pypy to test it. I'll defer to yours, mmoll. (have many other fish to fry)
comment:6 Changed 8 years ago by mamoll (Mark Moll)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r153316.
comment:8 Changed 8 years ago by mamoll (Mark Moll)
I added a reference to the patch in an existing bug report: https://bitbucket.org/pypy/pypy/issues/2407/pypy-541-fails-to-build-on-macos-sierra
Note: See
TracTickets for help on using
tickets.
In future tickets, please Cc any port maintainers (
port info --maintainers pypy
).