Impossible to build ld64-95.2.12: libunwind missing
Originator: | chucker23n |
|
Number: | rdar://7216959 |
Date Originated: | 11-Sep-2009 09:14 PM |
Status: | Open |
Resolved: | |
Product: | Mac OS X |
Product Version: | 10.6.0/10A432 |
Classification: | Other Bug |
Reproducible: | Not Applicable |
Summary:
The Mac OS X 10.6 source release at http://opensource.apple.com/release/mac-os-x-106/ includes the ld64 project at version 95.2.12, but it cannot be built due to a missing dependency on libunwind, the sources for which do not appear to be available.
Steps to Reproduce:
1. Fetch http://opensource.apple.com/tarballs/ld64/ld64-95.2.12.tar.gz.
2. Try to build it.
Expected Results:
It should be possible to build ld64 as distributed.
Actual Results:
Due to missing headers from libunwind, ld64 cannot be built as is.
Regression:
Haven't tried, but cf. Notes.
Notes:
Cf. e.g. http://www.opensource.apple.com/source/ld64/ld64-95.2.12/src/ld/MachOReaderRelocatable.hpp, with some of its includes:
#include <libunwind/DwarfInstructions.hpp>
#include <libunwind/AddressSpace.hpp>
#include <libunwind/Registers.hpp>
10.5.8's ld64 doesn't appear to require libunwind: http://opensource.apple.com/source/ld64/ld64-77.1/src/MachOReaderRelocatable.hpp
Duplicates
Comments
ag9zfm9wZW5yYWRhci1ocmRyDQsSBVJhZGFyGOC9BAw
Please note:
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!
libunwind now available
here: http://www.opensource.apple.com/tarballs/libunwind/ and in older versions of lldb SVN tree.
Yep, I did see that — unfortunately, only after filing that radar. Mea culpa.
Not necessary to file (extra) radars on this
See http://lists.apple.com/archives/Darwin-dev/2009/Sep/msg00031.html and the follow-ups. The reason is that this is a legal rather than a technical issue, and somehow multiple radars are counterproductive in that case.
What is the legal issue here? I am no lawyer (far from it!), but it seems Apple has not had issues releasing their changes to other MIT-licensed projects.