[Bug lto/60530] openssh-6.5p1 can't be built with lto - revision 208516

nheghathivhistha at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 14 18:21:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60530

--- Comment #1 from David Kredba <nheghathivhistha at gmail dot com> ---
When system libraries are removed, ssh.i file links to ssh file:

x86_64-pc-linux-gnu-gcc -o ssh ssh.i -L. -Lopenbsd-compat/ -flto=4
-fuse-linker-plugin -Wl,--as-needed -Wl,-O2 -Wl,-flto -O2 -ggdb -pipe
-march=native -mtune=native -mno-3dnow -mno-sse4.2 -mno-avx -Wl,-z,relro
-Wl,-z,now -Wl,-z,noexecstack -fstack-protector-strong -flto=4
-fuse-linker-plugin -Wl,--as-needed -Wl,-O2 -Wl,-flto -O2 -ggdb -pipe
-march=native -mtune=native -mno-3dnow -mno-sse4.2 -mno-avx -r -nostdlib

ls -l ssh
-rw-r--r-- 1 root root 129751 Mar 14 19:21 ssh



More information about the Gcc-bugs mailing list