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#10892 - cdparanoia from ABS fails to build on x86_64
Attached to Project:
Arch Linux
Opened by Lee Jackson (ProfessorTomoe) - Saturday, 12 July 2008, 10:25 GMT
Last edited by Jan de Groot (JGC) - Sunday, 20 July 2008, 22:14 GMT
Opened by Lee Jackson (ProfessorTomoe) - Saturday, 12 July 2008, 10:25 GMT
Last edited by Jan de Groot (JGC) - Sunday, 20 July 2008, 22:14 GMT
|
DetailsDescription:
Building cdparanoia from the extra repository of ABS on x86_64 fails with the following: gcc -fpic -shared -o libcdda_interface.so.0.10.0 -Wl,-soname -Wl,libcdda_interface.so.0 scan_devices.o common_interface.o cooked_interface.o interface.o scsi_interface.o smallft.o toc.o test_interface.o -lm /usr/bin/ld: cooked_interface.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC cooked_interface.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libcdda_interface.so] Error 1 |
This task depends upon
Does that mean that adding options=('!makeflags') to the PKGBUILD helps?
I have looked at the Makefile and it seems that the objects are compiled without -fpic for the static library and then again with -fpic for the shared library. My assumption is that if you have set the MAKEFLAG -j2 the correct compile order isn't preserved.
I think so. I've just commented MAKEFLAGS option in makepkg.conf, and it worked.