]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/bad
check for -fstack-protector-strong
[blhc/blhc.git] / t / logs / bad
index c4184d88642e7c36c0afc60f25c2c2f1b2139def..ae9d81c8e70be109237adc9a74e81cd654c818ca 100644 (file)
@@ -1,4 +1,6 @@
-configure: running /bin/bash ./configure ... 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,defs -Wl,--as-needed' ...
+dpkg-buildpackage: source package test
+
+configure: running /bin/bash ./configure ... 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,defs -Wl,--as-needed' ...
 
 checking for gcc... gcc
 checking whether gcc accepts -g... yes
@@ -9,3 +11,31 @@ gcc -g -O2 -c test-a.c
 gcc -g -O2 -c test-b.c
 gcc -g -O2 -c test-c.c
 gcc -o test test-a.o test-b.o test-c.o -ltest
+
+x86_64-linux-gnu-gcc -g -O2 -c test-a.c
+x86_64-linux-gnu-gcc -g -O2 -c test-b.c
+x86_64-linux-gnu-gcc -g -O2 -c test-c.c
+x86_64-linux-gnu-gcc -o test test-a.o test-b.o test-c.o -ltest
+
+g++  -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pthread -o ./testProgram ../src/test/testProgram.cpp
+g++  -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pthread -Wl,-z,relro -o ../src/test/bin/test ../src/test/objs/test.o
+
+gcc -o test test-a.o test-b.o test-c.a
+
+g++  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security ../src/test/objs/test.o -o ../src/test/bin/test
+
+gcc -c -o test test.S
+gcc -c -o test test.s
+
+gcc -E test.c
+
+gcc -S test.c
+
+gcc test.c
+
+gcc -Wl,-z,relro -o test test-.cpp test-b.cpp.o
+
+gcc -MD -c test.c
+gcc -MT -MD -MF test.d -c test.c
+gcc -MMD -c test.c
+gcc -MT -MMD -MF test.d -c test.c