This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH [tree-ssa, libmudflap]: support libmudflap on FreeBSD, V2
>
> * mf-hooks2.c: Support FreeBSD.
> (WRAP_gets): Avoid gets().
> [...]
>
> OK, installed.
At FreeBSD 5.1 BIG progress after applying patch:
before:
=== libmudflap Summary ===
# of expected passes 187
# of unexpected failures 242
after:
=== libmudflap Summary ===
# of expected passes 752
# of unexpected failures 12
All not fixed failures have same text in testsuite log (from
libmudflap.log):
--8X---------------------
Executing on host:
/usr/home/wanderer/pkg/build/gcc/obj_ssa/gcc/xgcc -B/usr/home/wanderer/pkg/b
uild/gcc/obj_ssa/gcc/ -ggdb3 -DDEBUG_ASSERT -I/home/wanderer/pkg/build/gcc/s
rc/gcc_ssa/gcc/libmudflap/testsuite -I.. -L../.libs -L../../libstdc++-v3/src
/.libs -L../../../gcc
/home/wanderer/pkg/build/gcc/src/gcc_ssa/gcc/libmudflap/testsuite/libmudflap
.cth/pass40-frag.c -O3 -fmudflapth -Wl,--noinhibit-exec -L/usr/home/wander
er/pkg/build/gcc/obj_ssa/i386-unknown-freebsd5.1/./libmudflap/testsuite -lm
-o ./pass40-frag.exe (timeout = 300)
spawn
/usr/home/wanderer/pkg/build/gcc/obj_ssa/gcc/xgcc -B/usr/home/wanderer/pkg/b
uild/gcc/obj_ssa/gcc/ -ggdb3 -DDEBUG_ASSERT -I/home/wanderer/pkg/build/gcc/s
rc/gcc_ssa/gcc/libmudflap/testsuite -I.. -L../.libs -L../../libstdc++-v3/src
/.libs -L../../../gcc
/home/wanderer/pkg/build/gcc/src/gcc_ssa/gcc/libmudflap/testsuite/libmudflap
.cth/pass40-frag.c -O3 -fmudflapth -Wl,--noinhibit-exec -L/usr/home/wanderer
/pkg/build/gcc/obj_ssa/i386-unknown-freebsd5.1/./libmudflap/testsuite -lm -o
./pass40-frag.exe
/home/wanderer/pkg/binutils/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/home/wanderer/pkg/binutils/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
FAIL: libmudflap.cth/pass40-frag.c (-O3) (test for excess errors)
Excess errors:
/home/wanderer/pkg/binutils/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
WARNING: libmudflap.cth/pass40-frag.c (-O3) compilation failed to produce
executable
--X8---------------------
Vladimir