On Mon, Sep 24, 2012 at 11:05:16AM +0200, Mathieu Malaterre wrote: > It looks like blhc is reporting false positive for OpenSlide compilation. EG: > > https://buildd.debian.org/~brlink/packages/o/openslide.html > > "W compiler-flags-hidden 5 (of 45) hidden (armel, armhf, hurd-i386, i386, > ia64, kfreebsd-amd64, kfreebsd-i386, mipsel, powerpc, s390, s390x)" > > But all compilation lines are clearly visible: > > [snip]
Hello Mathieu,
This is not a false positive.
The flags for the linking process are hidden:
checking 'openslide_3.2.6-2_i386.log'...
NONVERBOSE BUILD: CCLD src/libopenslide.la
NONVERBOSE BUILD: CCLD tools/openslide-show-properties
NONVERBOSE BUILD: CCLD tools/openslide-quickhash1sum
NONVERBOSE BUILD: CCLD test/test
NONVERBOSE BUILD: CCLD tools/openslide-write-png
Extract from the log:
[...]
CC test/test_test-test.o
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -I/usr/include/glib-2.0
-I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/cairo
-I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I./src -D_FORTIFY_SOURCE=2 -Wall -Wextra
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wc++-compat -fvisibility=hidden -DG_DISABLE_DEPRECATED
-DG_DISABLE_SINGLE_INCLUDES -fno-common -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c
-o test/test_test-test.o `test -f 't
est/test.c' || echo './'`test/test.c
test/test.c:63:13: warning: 'test_tile_walk' defined but not used
[-Wunused-function]
test/test.c:163:13: warning: 'test_horizontal_walk' defined but not used
[-Wunused-function]
test/test.c:184:13: warning: 'test_vertical_walk' defined but not used
[-Wunused-function]
CCLD src/libopenslide.la
CCLD tools/openslide-show-properties
CCLD tools/openslide-quickhash1sum
CCLD test/test
CCLD tools/openslide-write-png
make[2]: Leaving directory
`/build/buildd-openslide_3.2.6-2-i386-mo4qQE/openslide-3.2.6'
make[1]: Leaving directory
`/build/buildd-openslide_3.2.6-2-i386-mo4qQE/openslide-3.2.6'
[...]
Regards,
Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
signature.asc
Description: Digital signature

