X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Flogs%2Fbad;h=ae9d81c8e70be109237adc9a74e81cd654c818ca;hp=c4184d88642e7c36c0afc60f25c2c2f1b2139def;hb=768e3101e9e4e22e0d775ca1191549d825b679d3;hpb=0df26c1c2b30a44adc06f9c93650a6f2e31475c0 diff --git a/t/logs/bad b/t/logs/bad index c4184d8..ae9d81c 100644 --- a/t/logs/bad +++ b/t/logs/bad @@ -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