Subject: |
Difference in shared library build between R3.14.6 and R3.14.7 |
From: |
"Denison, PN \(Peter\)" <[email protected]> |
To: |
<[email protected]> |
Date: |
Wed, 13 Jul 2005 14:53:49 +0100 |
On a linux-x86 target, shared libraries are built slightly differently
under R3.14.7 than under R3.14.6.
--- base-3.14.6/configure/os/CONFIG.linux-x86.linux-x86
+++ base-3.14.7/configure/os/CONFIG.linux-x86.linux-x86
@@ -19,6 +19,6 @@
STATIC_LDLIBS_YES= -Wl,-Bdynamic
STATIC_LDLIBS_NO=
-SHRLIB_LDFLAGS += -shared -z defs
-LOADABLE_SHRLIB_LDFLAGS = -shared
+SHRLIB_LDFLAGS += -shared -fPIC
+LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC
Can anyone tell me the reasoning behind this change, and whether there
would be lots of breakage in 3.14.6 if I were to change '-z defs' to
'-fPIC'?
-z defs is safer, checking that there are no undefined symbols, at the
expense of needing all the libraries available at link time, rather than
run-time.
Peter Denison, Senior Software Engineer
Diamond Light Source Ltd., Diamond House, Chilton, Didcot, Oxon, OX11
0DE
Tel: +44 1235 778511
- Navigate by Date:
- Prev:
Re: Bacnet communication standard for building and automation Rod Nussbaumer
- Next:
VR9 VME64 Problems Darrell Nineham
- 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
- Navigate by Thread:
- Prev:
TSconfigure documentation Denison, PN (Peter)
- Next:
VR9 VME64 Problems Darrell Nineham
- 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
|