EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: R3.14.2 linker options for building on linux
From: Ralph Lange <[email protected]>
To: Geoff Savage <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Fri, 13 Jun 2003 09:37:35 +0200
Geoff,

Janet added this option in 3.14.2 for the GNU loader to disallow
undefined symbols (not just warn about them) when building shared
libraries (see: "man ld").

Probably to avoid a situation where some EPICS core libraries would be
built (with unresolved symbols) without make stumbling, but applications
trying to use these libraries would not be guaranteed to work.

I just rebuild 3.14.2 and don't have problems building it (RedHat 8.0
running GNU ld version 2.13.90.0.2 20020802) - even with the "-z defs".

??!

Ralph

>>>>> "Geoff" == Geoff Savage <[email protected]> writes:

  > This line was added to configure/os/CONFIG.linux-x86.linux-x86 between 
  > R3.14.1 and R3.14.2.

  > SHRLIB_LDFLAGS +=  -shared -z defs

  > I can't find any simple explanation for the need for the -z defs part. 
  > After removing this option base builds on linux.  Any insights?

  > Thanks

  > Geoff

References:
R3.14.2 linker options for building on linux Geoff Savage

Navigate by Date:
Prev: Re: Preemptive callback required Chris Mayer
Next: Re: Alarm box (wasalarm box (was any solution besides the TVs and alarm handler ?) Maren Purves
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: R3.14.2 linker options for building on linux Geoff Savage
Next: Building EPICS R3.14.2 under Windows Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·