1
LGA1150 2018-08-20 21:12:35 +08:00
> gcc -v
Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto Thread model: posix gcc version 8.2.0 (GCC) 有 enable-default-pie,看来是 |
2
waruqi 2018-08-20 21:24:56 +08:00 via Android
gcc 6.0 之后就默认启用了,你可以加上-no-pie 禁用掉
|
3
kokutou 2018-08-20 21:51:35 +08:00 via Android
节约用水。。。啊呸,内存,人人有责。。。
|
4
tengyft OP 谢谢各位,明白了,不过 opensuse 下好像没有启用 enable-default-pie
|