[syslog-ng] [Bug 155] Compilation failure in 3.3.3: the Darwin linker does not accept " --whole-archive"

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Mon Aug 26 13:37:08 CEST 2013


https://bugzilla.balabit.com/show_bug.cgi?id=155





--- Comment #9 from Gergely Nagy <algernon at balabit.hu>  2013-08-26 13:37:08 ---
I checked further, and there's an issue: while we can emulate --whole-archive with -all_load, that won't do the trick, we need to be able to turn it off too,
and -noall_load won't do that: they're mutually exclusive. You can't enable all_libs for certain libraries only, like we do with --whole-archive.

There's a workaround of linking the objects by hand, but... that's beyond awkward.

What we could do is enable -all_libs in this case, but I'm not exactly sure whether that'd work. I'll prepare a patch that does that, so someone with a MacOS
handy can test the results.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list