tags 633448 +patch +pending thanks 2011/7/10 David Shorten <dpshor...@gmail.com>: > Package: libpam-encfs > Version: 0.1.4.1-4 > Severity: normal > Tags: patch fixed > User: peter.fritzs...@gmx.de > Usertags: no-add-needed > > The attached patch was applied in ubuntu in order to fix LP#803183. It > should fix the bug described here. It changes debian/rules so that the > libraries are ordered correctly.
Thanks for the info, This seems to have been a recent change in ld behavior. With early post-squeeze where current version was built, both --no-as-neded and --as-needed worked properly and at least for the c library, ordering seemed to not matter very much (testing in squeeze below), /usr/bin/make LDFLAGS="--shared -x -lc --as-needed" make[1]: Entering directory `/home/unsafe/src/libpam-encfs/libpam-encfs' gcc -fPIC -O2 -c -g -Wall -Wformat-security -fno-strict-aliasing pam_encfs.c ld --shared -x -lc --as-needed -o pam_encfs.so pam_encfs.o -lpam make[1]: Leaving directory `/home/unsafe/src/libpam-encfs/libpam-encfs' /usr/bin/make LDFLAGS="--shared -x -lc --no-as-needed" make[1]: Entering directory `/home/unsafe/src/libpam-encfs/libpam-encfs' gcc -fPIC -O2 -c -g -Wall -Wformat-security -fno-strict-aliasing pam_encfs.c ld --shared -x -lc --no-as-needed -o pam_encfs.so pam_encfs.o -lpam make[1]: Leaving directory `/home/unsafe/src/libpam-encfs/libpam-encfs' I cannot check now in a sid box. I admit I was a bit surprised that not having a trailing -lc worked in the strict approach, but it did (I also played at that time with something similar to the proposed patch). Will change somewhere next week and upload fixed package, Regards, -- Agustin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org