[Bug 1470687] [NEW] Not working properly with compile options "-symbolic-functions"
Seyeong Kim
seyeong.kim at canonical.com
Thu Jul 2 02:06:23 UTC 2015
Public bug reported:
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
** Description changed:
SRU Justification
[Impact]
Can't use ${VARIABLE} on config file with -Dvar=value
+ Actually this is not a direct cause. but one of symptoms.
+
[Test Case]
set NFS server
- - /export/test1
- - /export/test2
- - /export/test-wily ( has README file )
+ - /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
+ - 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.
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
- -----
+ CFLAGS="$(CFLAGS) $(CPPFLAGS) -fgnu89-inline" \
+ LDFLAGS="-Wl,-z,relro" \ <<
+ dh_auto_build
+ -----
then debuild, it works
** Description changed:
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.
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
** Description changed:
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.
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
+
+
+ I'm curious whether it's affected all other pkg.. because it's compiler option problem
** Description changed:
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.
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 shard 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
+ I'm curious whether it's affected all other pkg.. because it's compiler
+ option problem
** Description changed:
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 shard library
- can't be used properly.. they lose some variables or element in list as
- I tested.
+ 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
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1470687
Title:
Not working properly with compile options "-symbolic-functions"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1470687/+subscriptions
More information about the Ubuntu-server-bugs
mailing list