Thanks for the quick response last night! Lastly, I tried out clang++ and it tries to link /usr/lib/cxa_finalizer.o. This file does not exist. It looks like bug 3849 <https://www.illumos.org/issues/3849> added the relevant symbols and the PKGSRC LLVM script <https://github.com/joyent/pkgsrc/blob/trunk/lang/clang/Makefile.common#L83> tries to get rid of the reference to cxa_finalizer. However it appears there is an extra dollar sign on line 83 there in the sed script that prevents the file from being properly edited.
Do you guys take pull requests on that pkgsrc repo in Github? On Tue, Mar 31, 2015 at 1:49 AM, Jonathan Perkin <[email protected]> wrote: > * On 2015-03-31 at 09:42 BST, Austin Wise wrote: > > > Is there anything wrong with adding this to the clang command line for > the > > time being?: > > -Wl,-L/opt/local/gcc47/lib/ > > It compiles and runs the trivial program. > > Depending on whether you are on base or base64 then: > > /opt/local/gcc47/i386-sun-solaris2.11/lib (base 14.3.x and older) > /opt/local/gcc47/i486-sun-solaris2.11/lib (base 14.4.x and newer) > /opt/local/gcc47/x86_64-sun-solaris2.11/lib (base64) > > would be a better choice so that you depend on the -libs package > rather than the full gcc package, otherwise no - do what works for > you. > > -- > Jonathan Perkin - Joyent, Inc. - www.joyent.com > > > ------------------------------------------- > smartos-discuss > Archives: https://www.listbox.com/member/archive/184463/=now > RSS Feed: > https://www.listbox.com/member/archive/rss/184463/25735310-6b6dced1 > Modify Your Subscription: > https://www.listbox.com/member/?& > Powered by Listbox: http://www.listbox.com > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
