[Bug 1470687] [NEW] Not working properly with compile options "-symbolic-functions"
Launchpad Bug Tracker
1470687 at bugs.launchpad.net
Mon Jul 6 04:17:27 UTC 2015
You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):
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
** Affects: autofs (Ubuntu)
Importance: Undecided
Status: New
** Tags: patch
--
Not working properly with compile options "-symbolic-functions"
https://bugs.launchpad.net/bugs/1470687
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list