I think you're right Rich. I'm going to try to find out where the "-lrt" flag is being decided on inside ghc's own source and make sure it isn't used on Illumos.
> On Mar 23, 2014, at 20:03, Richard Lowe <[email protected]> wrote: > > It looks like the use of -r is deliberate -- it really is trying to emit a > relocatable object (topHandler02.o). I'd say the problem is the -lrt. > Presumably, they really only want to pass -lrt when they actually link their > final output, rather than when creating intermediate objects? > > For what it's worth, librt is a filter on libc these days so it's not > actually necessary to explicitly link it at all on recent (since s10?) > systems. > > > smartos-discuss | Archives | Modify Your Subscription ------------------------------------------- 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
