Bug#840394: motif: FTBFS: relocation R_X86_64_PC32 against symbol ...
Hello Graham, Graham Inggs wrote on 2016-10-14 16:35: > > PIE by default is happening for Stretch. > Release Team have given the go-ahead, see message #21 of #835148 [1], > and the changes have already been committed to SVN [2] and should be > included in the next GCC6 upload. Thank you for this information. I think, than the time is short for some other packages which still have a problem with 'pie'. --- Have a nice day. Joachim (Germany) pgpn4w1p0qTgk.pgp Description: Digitale Signatur von OpenPGP
Bug#840394: motif: FTBFS: relocation R_X86_64_PC32 against symbol ...
Hi Joachim On 14 October 2016 at 15:23, Joachim Wiedorn wrote: > for now motif should be compiled without buildflag 'pie'. I think it is > not needed for the next release - it is disabled by default, because not > all packages can be compiled with this flag. PIE by default is happening for Stretch. Release Team have given the go-ahead, see message #21 of #835148 [1], and the changes have already been committed to SVN [2] and should be included in the next GCC6 upload. Regards Graham [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835148#21 [2] https://anonscm.debian.org/viewvc/gcccvs?view=revision&revision=8999
Bug#840394: motif: FTBFS: relocation R_X86_64_PC32 against symbol ...
Hello, for now motif should be compiled without buildflag 'pie'. I think it is not needed for the next release - it is disabled by default, because not all packages can be compiled with this flag. --- Have a nice day. Joachim (Germany) pgpmVQdsFcrPL.pgp Description: Digitale Signatur von OpenPGP
Bug#840394: motif: FTBFS: relocation R_X86_64_PC32 against symbol ...
Hello, for now motif should be compiled without hardening buildflag 'pie' (see patch). --- d01/debian/rules2016-09-28 22:22:07.0 +0200 +++ d02/debian/rules2016-10-14 01:04:31.0 +0200 @@ -2,7 +2,7 @@ export DEB_CFLAGS_MAINT_APPEND=-D_FILE_OFFSET_BITS=64 export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -export DEB_BUILD_MAINT_OPTIONS=hardening=+all +export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow %: dh $@ --with autoreconf --parallel --- Have a nice day. Joachim (Germany) --- d01/debian/rules 2016-09-28 22:22:07.0 +0200 +++ d02/debian/rules 2016-10-14 01:04:31.0 +0200 @@ -2,7 +2,7 @@ export DEB_CFLAGS_MAINT_APPEND=-D_FILE_OFFSET_BITS=64 export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -export DEB_BUILD_MAINT_OPTIONS=hardening=+all +export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow %: dh $@ --with autoreconf --parallel pgpd8FFFEZpow.pgp Description: Digitale Signatur von OpenPGP
Bug#840394: motif: FTBFS: relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
Hi Bas On 13 October 2016 at 20:07, Sebastiaan Couwenberg wrote: > Are you sure about that timing? I'm not sure exactly when that is happening. > The failed motif builds are preventing the grass rebuilds for the > readline7 transition (#838234), waiting for the above may not be such a > good idea. Waiting for the GCC6 upload enabling PIE by default can be avoided by fixing #837658 directly, i.e. by uploading flex with DEB_BUILD_MAINT_OPTIONS=hardening=+all, or similar. Regards Graham
Bug#840394: motif: FTBFS: relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
On Tue, 11 Oct 2016 09:57:18 +0200 Graham Inggs wrote: > I believe this will be fixed by a binNMU of flex [1] after GCC 6 is > uploaded with PIE enabled by default [2]. > This should be happening Real Soon Now. Are you sure about that timing? The failed motif builds are preventing the grass rebuilds for the readline7 transition (#838234), waiting for the above may not be such a good idea. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#840394: motif: FTBFS: relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
Hi Chris Thanks for the bug report! On 11 October 2016 at 09:48, Chris Lamb wrote: > libtool: link: gcc -g -O2 > -fdebug-prefix-map=/home/lamby/temp/cdt.20161011083154.1VrxVOdO2c.db.motif/motif-2.3.4=. > -fPIE -fstack-protector-strong -Wformat -Werror=format-security > -D_FILE_OFFSET_BITS=64 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment > -I/usr/include/freetype2 -fPIE -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o > wmluiltok wmluiltok.o -Wl,--as-needed -lfl -L/usr/lib/x86_64-linux-gnu > /usr/lib/x86_64-linux-gnu/libfreetype.so -lXrender -lfontconfig -lXft -ljpeg > -lpng > /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libfl_pic.a(libmain.o): relocation > R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be used when making > a shared object; recompile with -fPIC > /usr/bin/ld: final link failed: Bad value > collect2: error: ld returned 1 exit status > Makefile:498: recipe for target 'wmluiltok' failed I believe this will be fixed by a binNMU of flex [1] after GCC 6 is uploaded with PIE enabled by default [2]. This should be happening Real Soon Now. Cheers Graham [1] https://bugs.debian.org/837658 [2] https://bugs.debian.org/835148
Bug#840394: motif: FTBFS: relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
Source: motif Version: 2.3.4-11 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org Dear Maintainer, motif fails to build from source in unstable/amd64: [..] LadderPoint from_node_point, kid_point, first_kid_point; ^~~ Tree.c:1243:11: warning: 'from_node_point.x' may be used uninitialized in this function [-Wmaybe-uninitialized] XDrawLine(XtDisplay(w), XtWindow(w), gc, parent_point.x, ^~~~ parent_point.y, first_kid.x, parent_point.y ); ~ Tree.c:1332:17: note: 'from_node_point.x' was declared here LadderPoint from_node_point, kid_point, first_kid_point; ^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/share/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/X11\" -DX11RGBPATH=\"/etc/X11/rgb.txt\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161011083154.1VrxVOdO2c.db.motif/motif-2.3.4=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -c Jpeg.c -fPIC -DPIC -o .libs/Jpeg.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/share/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/X11\" -DX11RGBPATH=\"/etc/X11/rgb.txt\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161011083154.1VrxVOdO2c.db.motif/motif-2.3.4=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -c Tree.c -fPIE -o Tree.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/share/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/X11\" -DX11RGBPATH=\"/etc/X11/rgb.txt\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161011083154.1VrxVOdO2c.db.motif/motif-2.3.4=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -c Png.c -fPIC -DPIC -o .libs/Png.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/share/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/X11\" -DX11RGBPATH=\"/etc/X11/rgb.txt\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161011083154.1VrxVOdO2c.db.motif/motif-2.3.4=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -c Jpeg.c -fPIE -o Jpeg.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/share/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/X11\" -DX11RGBPATH=\"/etc/X11/rgb.txt\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161011083154.1VrxVOdO2c.db.motif/motif-2.3.4=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -c TabStack.c -fPIE -o TabStack.o >/dev/null 2>&1 Png.c: In function 'png_load_file': Png.c:146:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(sig, 1, 8, infile); ^~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/share/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/X11\" -DX11RGBPATH=\"/etc/X11/rgb.txt\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161011083154.1VrxVOdO2c.db.motif/motif-2.3.4=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -c DropDown.c -fPIE -o DropDown.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/share/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu/X11\" -DX11RGBPATH=\"/etc/X11/rgb.txt\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -g -O2 -fdeb