Den 02/12/2010 kl. 03.44 skrev Ryan Stone:

> Does the C file use the __FILE__ macro?

There are a bit over 1000 files with checksum mismatches, but they seem to 
differ in the same way. I've picked an example: /usr/lib/libbsnmp.a

It contains the string 
"/usr/home/erik/freebsd/head1/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/asn1.c"
 in the section .rodata.str1.8 of the archive member asn1.o. asn1.o was created 
during buildworld with this command:

cc -O2 -pipe -DSTRIP_FBSDID  
-I/usr/home/erik/freebsd/head1/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib
 -DHAVE_ERR_H -DHAVE_GETADDRINFO -DHAVE_STRLCPY -DHAVE_STDINT_H 
-DHAVE_INTTYPES_H -DQUADFMT='"llu"' -DQUADXFMT='"llx"' -std=gnu99 
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/usr/home/erik/freebsd/head1/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/asn1.c

I don't see __FILE__ anywhere in asn1.c or in dependent files.


Erik

Reply via email to