View Issue Details

IDProjectCategoryView StatusLast Update
0000982SOGoSOPEpublic2011-10-04 17:54
ReporterwsourdeauAssigned Tojraby 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
Summary0000982: packaging: make use of ld's --as-needed to reduce binary dependencies
Description

see title

TagsNo tags attached.

Activities

luca

luca

2011-06-16 09:38

reporter   ~0002587

Is this a good idea?
I have this in my own spec file for building sope, IIRC without it, as the comment says, SOGo would break in subtle and unexpected ways:

%prep
%setup -q -n %{sope_source}
%patch20 -p1
%patch21 -p1
%patch22 -p1
#%patch23 -p0

nasty hack to avoid using -Wl,--as-needed, a flag that breaks sope in a subtle way

find -name GNUmakefile -print0 | xargs -0 perl -pi -e 's#common.make#common.make\nLDFLAGS += -Wl,--no-as-needed#'

See also

http://bugs.gentoo.org/show_bug.cgi?id=295636

ludovic

ludovic

2011-10-04 17:54

administrator   ~0002860

We must not do that. It'll break with recent GNUstep's base and bundles.

Issue History

Date Modified Username Field Change
2010-11-16 14:23 wsourdeau New Issue
2011-06-15 21:23 ludovic Status new => assigned
2011-06-15 21:23 ludovic Assigned To => jraby
2011-06-16 09:38 luca Note Added: 0002587
2011-10-04 17:54 ludovic Note Added: 0002860
2011-10-04 17:54 ludovic Status assigned => closed
2011-10-04 17:54 ludovic Resolution open => won't fix