Details
Details
- Reviewers
imp kib - Group Reviewers
bhyve - Commits
- rG755c1e039adf: kernel: address executable stack warnings in amd64 gcc build
make buildkernel && env MAKEOBJDIRPREFIX=/usr/obj/gcc14 CROSS_TOOLCHAIN=amd64-gcc14 make buildkernel
find /usr/obj/gcc14/gcc14/usr/src/freebsd/amd64.amd64 -name '*.meta' -exec grep --with-filename warning: {} \; | sort
Resolves this set of executable stack warnings:
./sys/GENERIC/kernel.full.meta:/usr/local/x86_64-unknown-freebsd16.0/bin/ld: warning: vmbus_vector.o: missing .note.GNU-stack section implies executable stack ./sys/GENERIC/modules/usr/src/freebsd/sys/modules/aesni/aesni.ko.full.meta:/usr/local/x86_64-unknown-freebsd16.0/bin/ld: warning: aeskeys_amd64.o: missing .note.GNU-stack section implies executable stack ./sys/GENERIC/modules/usr/src/freebsd/sys/modules/efirt/efirt.ko.full.meta:/usr/local/x86_64-unknown-freebsd16.0/bin/ld: warning: efirt_support.o: missing .note.GNU-stack section implies executable stack ./sys/GENERIC/modules/usr/src/freebsd/sys/modules/hyperv/vmbus/hv_vmbus.ko.full.meta:/usr/local/x86_64-unknown-freebsd16.0/bin/ld: warning: vmbus_vector.o: missing .note.GNU-stack section implies executable stack ./sys/GENERIC/modules/usr/src/freebsd/sys/modules/sgx/sgx.ko.full.meta:/usr/local/x86_64-unknown-freebsd16.0/bin/ld: warning: sgx_support.o: missing .note.GNU-stack section implies executable stack ./sys/GENERIC/modules/usr/src/freebsd/sys/modules/vmm/vmm.ko.full.meta:/usr/local/x86_64-unknown-freebsd16.0/bin/ld: warning: svm_support.o: missing .note.GNU-stack section implies executable stack
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable