[Bug 1470687] Re: Not working properly with compile options "-symbolic-functions"
Launchpad Bug Tracker
1470687 at bugs.launchpad.net
Tue Jul 7 15:27:43 UTC 2015
** Branch linked: lp:ubuntu/wily-proposed/autofs
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1470687
Title:
Not working properly with compile options "-symbolic-functions"
Status in autofs package in Ubuntu:
In Progress
Status in autofs source package in Trusty:
In Progress
Status in autofs source package in Utopic:
In Progress
Status in autofs source package in Vivid:
In Progress
Bug description:
SRU Justification
[Impact]
Can't use ${VARIABLE} on config file with -Dvar=value
Actually this is not a direct cause. but one of symptoms.
It's affected from Trusty to Wily ( Precise is ok )
[Test Case]
set NFS server
- /export/test1
- /export/test2
- /export/test-wily ( has README file )
set NFS client
- insert "/test /etc/auto.test" on the bottom of /etc/auto.master
- insert "test autofs_nfs:/export/${TESTVAR}
- run "automount -DTESTVAR=test-wily --pid-file=/var/run/autofs.pid -d -f -v"
- go /test, run ll test
- can see whole subdirectories on /export, should see only files in /export/test-wily
[Regression Potential]
[Other Info]
After analyzing the codes and build,
I found that it's ok with result of "make" command.
but doesn't work with "debuild" command.
so I suspected compile option
I changed override_dh_auto_build part on debian/rules to below
-----
override_dh_auto_build:
CFLAGS="$(CFLAGS) $(CPPFLAGS) -fgnu89-inline" \
LDFLAGS="-Wl,-z,relro" \ <<
dh_auto_build
-----
then debuild, it works
with -symbolic-functions option, static global variable in shared
library can't be used properly.. they lose some variables or element
in list as I tested.
I'm curious whether it's affected all other pkg.. because it's
compiler option problem
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1470687/+subscriptions
More information about the Ubuntu-sponsors
mailing list