6 msgVIA VT8237R+ chipset
3 msgMFC plans for TSO and VLAN??
2 msgsetenv() patch for POSIX and memory leak
2 msgWITHOUT_PROFILE no longer honored?
1 msgPAT_WRITE_COMBINING: how to use?
1 msg/bin/df strangeness
3 msgHEADS UP: KBI breakage for Ethernet modules
5 msgCFT: re(4)
2 msgif_iwi: modul not built in CURRENT
9 msgifconfig carp0 destroy = kernel panic
8 msgXorg port problem?
3 msgNo wpa_supplicant control socket at boot
1 msgkldxref: file isn't dynamically-linked - techni...
7 msgmplayer causes panic: page fault

ldd broken for profiling binaries?
\ Giorgos Keramidas (28 May 2007)
. \ Stefan Ehmann (28 May 2007)
. . \ Giorgos Keramidas (28 May 2007)
. \ Alexander Kabaev (28 May 2007)
. . \ Giorgos Keramidas (31 May 2007)

5 msgRe: HEADS UP: compat6x
2 msglibgcc_s.so.1 and libstdc++.so.6 are shadowed (...
7 msgpersistent problem with buildworld on -CURRENT
3 msgFreeBSD/xen status
3 msgmpt driver broken for big-endian ?
Subject:ldd broken for profiling binaries?
Group:Freebsd-current
From:Giorgos Keramidas
Date:28 May 2007


 
ldd seems to be broken for profiling binaries, and the profiling
binaries built with gcc42 seem to be unusable here:

,-----------------------------------------------------------------------
| $ cat -n foo.c
| 1 #include <stdio.h>
| 2
| 3 int
| 4 main(void)
| 5 {
| 6 int k;
| 7
| 8 for (k = 0; k < 10000; k++)
| 9 printf("Hello world\n");
| 10 return 0;
| 11 }
| $ DEBUG_FLAGS='-pg' ; CFLAGS='' ; export DEBUG_FLAGS CFLAGS
| $ make cleandir
| rm -f foo foo.o
| rm -f .depend GPATH GRTAGS GSYMS GTAGS
| $ make cleandir
| rm -f foo foo.o
| rm -f .depend GPATH GRTAGS GSYMS GTAGS
| $ make
| Warning: Object directory not changed from original /tmp/foo
| cc -pg -c foo.c
| cc -pg -o foo foo.o
| $ ./foo
| /libexec/ld-elf.so.1: ./foo: Unexpected inconsistency: dependency libgcc_s.so.1 not found
| $ ldd foo
| foo:
| /libexec/ld-elf.so.1: foo: Unexpected inconsistency: dependency libgcc_s.so.1 not found
| foo: exit status 1
| $
`-----------------------------------------------------------------------

Is anyone else seeing this, or have I managed to botch my local
installation of gcc42?

_______________________________________________
freebsd-current mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe"


© 2004-2008 readlist.com