Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20042 - [dumb] not compiled with -fPIC
Attached to Project:
Community Packages
Opened by Hilton Medeiros (hilton) - Thursday, 01 July 2010, 14:03 GMT
Last edited by Chris Brannon (cmb) - Sunday, 04 July 2010, 18:15 GMT
Opened by Hilton Medeiros (hilton) - Thursday, 01 July 2010, 14:03 GMT
Last edited by Chris Brannon (cmb) - Sunday, 04 July 2010, 18:15 GMT
|
DetailsDescription:
The dumb library is not compiled with -fPIC, making it impossible to link in x86_64. Additional info: * dumb 9.3-2 |
This task depends upon
Closed by Chris Brannon (cmb)
Sunday, 04 July 2010, 18:15 GMT
Reason for closing: Fixed
Additional comments about closing: It works, so I'm closing this bug.
Thanks to tomd123 for testing.
Sunday, 04 July 2010, 18:15 GMT
Reason for closing: Fixed
Additional comments about closing: It works, so I'm closing this bug.
Thanks to tomd123 for testing.
Upstream's Makefile completely ignores the user's CFLAGS.
I had a look at Gentoo's ebuild.
It overrides another makefile variable, called OFLAGS.
make OFLAGS="${CFLAGS}"
This package's build process has other problems. It won't build in a
clean chroot, because of the interactive prompting in the Makefile.
The trick of providing all the answers in a here-document doesn't quite
work. In fact, it causes make to fail.
I'm going to commit it to [community-testing].
Would people on x86_64 mind testing -fPIC?
I'm attaching a small C file.
Try building a shared library from it on x86_64, like so:
gcc -c dumbtest.c -fPIC
gcc -shared -o libdumbtest.so dumbtest.o -ldumb