bugGPSD - Bugs: bug #40682, libgps will be linked statically....

 
 

bug #40682: libgps will be linked statically. Always.

Submitted by:  Bernd Zeimetz <bzed>
Submitted on:  Sat 23 Nov 2013 02:20:06 AM UTC  
 
Category: NoneSeverity: 5 - Blocker
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Eric S. Raymond <esr>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 23 Nov 2013 05:35:09 AM UTC, comment #1:

I'm not seeing this (static linking by default) here, under Ubuntu 13.10. I know this because every once in a while I have to run one of the binaries under gdb, which has a sad tendency to lose its cookies in the presence of dynamic linking. Whenever this happens, I have to explicitly re-link statically.

So we need to figure out what about your build environment is causing the difference in behavior.

Are you by any chance parallel-building?

Eric S. Raymond <esr>
Project AdministratorIn charge of this item.
Sat 23 Nov 2013 02:20:06 AM UTC, original submission:

Since

env.StaticLibrary(target='libgps.a',
source=libgps_sources,
parse_flags=dbus_libs + rtlibs)

was added to sconstruct, all programs are linked statically by DEFAULT.

major fail.
to avoid using rpaths and chrpath, use LD_RUN_PATH in the envoronment. Or tell scons to re-link files properly during install, as sane build systems would do it.

Bernd Zeimetz <bzed>
Project Member

 

(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 esr (Posted a comment)
  • -unavailable- added by bzed (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

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

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 Aug 2014 05:47:49 PM UTCesrOpen/ClosedOpen=>Closed
    Sat 23 Nov 2013 01:04:27 PM UTCesrStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1