[Bug 1470687] Re: Not working properly with compile options "-symbolic-functions"
Ubuntu Foundations Team Bug Bot
1470687 at bugs.launchpad.net
Mon Jul 6 04:17:28 UTC 2015
The attachment "wily-remove-symbolic-funcions.debdiff" seems to be a
debdiff. The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff. If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1470687
Title:
Not working properly with compile options "-symbolic-functions"
Status in autofs package in Ubuntu:
New
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 foundations-bugs
mailing list