>> Just to note: I've been building Ledger with only Clang for over a year now,
>> so I suspect that it has more to do with some recent change in Clang.
>> 
> 
> It looks like the recent change from 10.8 -> 10.9 is the switch from 
> /usr/lib/libstdc++.6.dylib to /usr/lib/libc++.1.dylib.
> 
> I don’t understand C++ enough to know if it is this switch among others that 
> caused the failed build on 10.9/Clang.

An FYI update, I switched the stdlib to libstdc++ just to see what happens and 
it compiles past the error.
I know that libc++ and libstdc++ are not ABI compatible, so I’m not surprised 
that it fails to link with boost (built with libc++) in the linking stage.

The flags I used:
$ export CXXFLAGS="-stdlib=libstdc++"; export LDFLAGS="-stdlib=libstdc++”
$ ./acprep opt update
$ nice make

So I guess, the resolution would be to 1) get code compatibility with libc++ or 
2) compile everything, including dependencies with libstdc++.


Thanks,
Ronald

-- 
Ronald Ip                                    [email protected]
GPG: 1024D/71D71151       http://about.iphoting.com/iphoting.asc
Fingerprint: {6A7E AB1E A822 E621 4DEC 11C4 F355 0635 71D7 1151}


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to