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

 
 

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

Submitter:  Bernd Zeimetz <bzed>
Submitted:  Sat 23 Nov 2013 02:20:06 AM UTC
   
 
Category:  None Severity:  5 - Blocker
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  esr
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by esr (Posted a comment)
  • -email is unavailable- added by bzed (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-23 esr Open/ClosedOpen Closed
    2013-11-23 esr StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code