[Bug 1105496] Re: ld creates libraries with executable permissions
Sworddragon
1105496 at bugs.launchpad.net
Thu Mar 14 04:22:13 UTC 2013
Why is this expected? What is the sense making libraries executable?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1105496
Title:
ld creates libraries with executable permissions
Status in “binutils” package in Ubuntu:
Invalid
Bug description:
I'm using Ubuntu 13.04 dev with binutils 2.23.1-0ubuntu6. On creating
a library with ld it sets executable permissions. Here is an example:
sworddragon at ubuntu:~/data$ gcc -c test.c -fPIC
sworddragon at ubuntu:~/data$ ld -shared -soname test.so -o test.so test.o
sworddragon at ubuntu:~/data$ ls -l test.o test.so
-rw------- 1 sworddragon sworddragon 1224 Jan 25 23:34 test.o
-rwx------ 1 sworddragon sworddragon 2068 Jan 25 23:34 test.so
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1105496/+subscriptions
More information about the foundations-bugs
mailing list