[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 10:43:43 CEST 2013


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


Gergely Nagy <algernon at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |algernon at balabit.hu
         AssignedTo|bazsi at balabit.hu            |algernon at balabit.hu




--- Comment #8 from Gergely Nagy <algernon at balabit.hu>  2013-08-26 10:43:43 ---
(In reply to comment #7)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > The issue with this patch that --whole-archive is required, as ivykis is linked into an .so which needs to reexport _all_ symbols. If 
> > > whole-archive is not specified, only the parts of ivykis that are directly referenced will be linked in.
> > > 
> > > Is there an alternative of --whole-archive in the darwin linker?
> > > 
> > Not that I know of. Problem is that the Darwin linker is a 10+ years old BSD linker, missing these features. Most likely it doesn't support the 
> > --no-whole-archive functionality. At least a patch(http://people.freebsd.org/~peter/valgrind.diff) google found did just what my patch did.
> > 
> 
> I'm fairly certainly that darwin equivalent of "--[no-]whole-archive" is "-[no]all_load".
> 

Hrm... I can try to cook up a patch that tests for --whole-archive, and if that fails, tries -all_load, but I won't be able to test it much. I will be able to
show the patch and ask for testing though.


-- 
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