Bug#664949: dillo: FTBFS: bw.o: could not read symbols: Bad value
Hi, 2012/3/25 Axel Beckert : > As the error message recommends, using -fPIC helps. But interestingly > not in CFLAGS but in CPPFLAGS. For now I've added it for all > architecutres, but I'm not 100% sure if it's a good idea > to solve this issue, especially if the issue could be located in some > other package. IMHO I think that should be fine, if you expect to link object code with -pie/-fPIE, the objects need to be compiled with, at least, -fPIC, or you could even use -fPIE. Cheers, -- Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#664949: dillo: FTBFS: bw.o: could not read symbols: Bad value
Hi Hector, Hector Oron wrote: > >> During a rebuild of all packages in sid, your package failed to build on > >> amd64. > > > > I can reproduce this issue with and without pbuilder on amd64 while I > > can't reproduce it on i386. > > I have only had few time to give it a pick to this bug. It seems to be > related to the use of -pie at link time (LDFLAGS). This setting seems > to come from ``fltk-config --ldflags'', which for amd64 gives the > following output: > > $ fltk-config --ldflags > -L/usr/lib/x86_64-linux-gnu -fPIE -pie -Wl,-z,relro -Wl,-z,now -lfltk Thanks for investigation. > I just have not had the time to find out why linking with -pie is broken. As the error message recommends, using -fPIC helps. But interestingly not in CFLAGS but in CPPFLAGS. For now I've added it for all architecutres, but I'm not 100% sure if it's a good idea to solve this issue, especially if the issue could be located in some other package. Regards, Axel -- ,''`. | Axel Beckert , http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#664949: dillo: FTBFS: bw.o: could not read symbols: Bad value
Hello, 2012/3/24 Axel Beckert : > tag 664949 + confirmed > retitle 664949 dillo: FTBFS on amd64: bw.o: could not read symbols: Bad value > kthxbye > > Lucas Nussbaum wrote: >> During a rebuild of all packages in sid, your package failed to build on >> amd64. > > I can reproduce this issue with and without pbuilder on amd64 while I > can't reproduce it on i386. I have only had few time to give it a pick to this bug. It seems to be related to the use of -pie at link time (LDFLAGS). This setting seems to come from ``fltk-config --ldflags'', which for amd64 gives the following output: $ fltk-config --ldflags -L/usr/lib/x86_64-linux-gnu -fPIE -pie -Wl,-z,relro -Wl,-z,now -lfltk I just have not had the time to find out why linking with -pie is broken. Cheers -- Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#664949: dillo: FTBFS: bw.o: could not read symbols: Bad value
tag 664949 + confirmed retitle 664949 dillo: FTBFS on amd64: bw.o: could not read symbols: Bad value kthxbye Lucas Nussbaum wrote: > During a rebuild of all packages in sid, your package failed to build on > amd64. I can reproduce this issue with and without pbuilder on amd64 while I can't reproduce it on i386. Regards, Axel -- ,''`. | Axel Beckert , http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#664949: dillo: FTBFS: bw.o: could not read symbols: Bad value
Hi Lucas, Lucas Nussbaum wrote: > During a rebuild of all packages in sid, your package failed to build on > amd64. Thanks for the information! Those rebuild tests are really useful to notice build issues in advance and therefore much appreciated. I'll have a closer look at it within the next days. Regards, Axel -- ,''`. | Axel Beckert , http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#664949: dillo: FTBFS: bw.o: could not read symbols: Bad value
Source: dillo Version: 3.0.2-1 Severity: serious Tags: wheezy sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20120321 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: > /usr/bin/ld: bw.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be > used when making a shared object; recompile with -fPIC > bw.o: could not read symbols: Bad value > collect2: ld returned 1 exit status The full build log is available from: http://people.debian.org/~lucas/logs/2012/03/21/dillo_3.0.2-1.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on about 50 AMD64 nodes of the Grid'5000 platform, using a clean chroot. Internet was not accessible from the build systems. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org