1994 1995 1996 1997 1998 1999 2000 2001 2002 <2003> 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 <2003> 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== 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