bugGNU Wget - Bugs: bug #22144, lib-link.m4 prevents static linking

 
 

bug #22144: lib-link.m4 prevents static linking

Submitted by:  Mike Frysinger <vapier>
Submitted on:  Mon 28 Jan 2008 02:02:09 PM UTC  
 
Category: Build/InstallSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: trunkOperating System: None
Reproducibility: NoneFixed Release: None
Planned Release: 1.14Regression: None
Work Required: 0 - HoursPatch Included: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 30 Aug 2009 06:46:09 AM UTC, comment #3:

Punt this for 1.13. It looks like gnulib has these same lib-*.m4 files... at the very least, we should use theirs in preference to ours; though it looks (at a glance) like the current gnulib ones may still suffer the same issues.

Micah Cowan <micahcowan>
Project Administrator
Tue 14 Apr 2009 04:56:20 PM UTC, comment #2:

The LTLIBFOO seems to behave more sane than the LIBFOO variable.

cu andreas

Andreas Metzler <ametzler>
Tue 29 Jan 2008 04:32:19 AM UTC, comment #1:

Maybe while I'm at it I can take a closer look at the rest of Wget's custom m4 stuff in general.

Micah Cowan <micahcowan>
Project Administrator
Mon 28 Jan 2008 02:02:09 PM UTC, original submission:

because the lib-link macros hardcode the full path of the .so library, this prevents static building of wget

i'm not even sure why this code exists ... seems like it's just a lot of over engineering

instead of storing "$found_so" into the lib variables, it should instead store "-l$name"

when setting up LIBS, it should put LIBS first, not last:
-LIBS="$LIBS $LIB[]NAME"
+LIBS="$LIB[]NAME $LIBS"

that way the system libraries (like libdl) come after the static libraries that need them

Mike Frysinger <vapier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ametzler (Posted a comment)
  • -unavailable- added by micahcowan (Posted a comment)
  • -unavailable- added by vapier (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 30 Aug 2009 06:46:09 AM UTCmicahcowanPlanned Release1.12=>1.14
    Tue 04 Nov 2008 09:36:12 AM UTCmicahcowanPriority9 - Immediate=>5 - Normal
    Tue 04 Nov 2008 01:47:18 AM UTCmicahcowanPriority5 - Normal=>9 - Immediate
    Wed 23 Apr 2008 06:39:11 AM UTCmicahcowanWork RequiredNone=>0 - Hours
    Tue 29 Jan 2008 04:32:19 AM UTCmicahcowanPlanned ReleaseNone=>1.12

    Back to the top


    Powered by Savane 3.1-cleanup