Fedora has now started generating errors when code generates an executable stack. This breaks the plplot build:

[ 75%] Linking Fortran executable x09f
cd /builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/examples/fortran && /usr/bin/cmake -E cmake_link_script CMakeFiles/x09f.dir/link.txt --verbose=1 /usr/bin/gfortran -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer CMakeFiles/x09f.dir/x09f.f90.o -o x09f -Wl,-rpath,/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/fortran:/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/src:/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/lib/csa:/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/lib/nn:/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/lib/qsastime ../libplfortrandemolib.a ../../bindings/fortran/libplplotfortran.so.0.2.0 -Wl,-rpath-link,/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/src:/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/lib/csa:/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/lib/nn:/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/lib/qsastime /usr/bin/ld: error: /tmp/cczNXqc0.ltrans0.ltrans.o: is triggering the generation of an executable stack (because it has an executable .note.GNU-stack section)

Using -Wtrampolines yields:

plplot-5.15.0/examples/fortran/x09f.f90:187:21: warning: trampoline generated for nested function ‘mypltr.3’ [-Wtrampolines] plplot-5.15.0/examples/fortran/x09f.f90:187:21: warning: trampoline generated for nested function ‘mypltr’ [-Wtrampolines]

and:

/home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xtraditional09a.adb:92:5: warning: trampoline generated for nested function ‘xtraditional09a.mypltr’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xstandard09a.adb:92:5: warning: trampoline generated for nested function ‘xstandard09a.mypltr’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xtraditional14a.adb:258:9: warning: trampoline generated for nested function ‘xtraditional14a.plot5.mypltr’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xstandard14a.adb:258:9: warning: trampoline generated for nested function ‘xstandard14a.plot5.mypltr’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xtraditional16a.adb:103:5: warning: trampoline generated for nested function ‘xtraditional16a.zdefined’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xstandard16a.adb:103:5: warning: trampoline generated for nested function ‘xstandard16a.zdefined’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xtraditional19a.adb:68:5: warning: trampoline generated for nested function ‘xtraditional19a.map_transform’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xtraditional19a.adb:97:5: warning: trampoline generated for nested function ‘xtraditional19a.mapform19’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xtraditional19a.adb:124:5: warning: trampoline generated for nested function ‘xtraditional19a.geolocation_labeler’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xstandard19a.adb:68:5: warning: trampoline generated for nested function ‘xstandard19a.map_transform’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xstandard19a.adb:97:5: warning: trampoline generated for nested function ‘xstandard19a.mapform19’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xstandard19a.adb:124:5: warning: trampoline generated for nested function ‘xstandard19a.geolocation_labeler’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xtraditional22a.adb:140:5: warning: trampoline generated for nested function ‘xtraditional22a.transform’ [-Wtrampolines] /home/orion/fedora/plplot/plplot-5.15.0/examples/ada/xstandard22a.adb:140:5: warning: trampoline generated for nested function ‘xstandard22a.transform’ [-Wtrampolines]


--
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                 https://www.nwra.com/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to