Installed /usr/ports/devel/libelf [0.8.12] on i386-*-freebsd7.2.
Explicitly added "--enable-lto --with-libelf=/usr/local" to configure line.
(Stock system's /usr/include/libelf.h missing elf_getshdrstrndx().)

New failures for i386-*-freebsd7.2 (seems in-line with other port reports):

gcc:
FAIL: gcc.c-torture/execute/builtins/sprintf-chk.c execution,  -O2 -fwhopr 
FAIL: gcc.c-torture/execute/builtins/stpcpy-chk.c execution,  -O2 -fwhopr 
FAIL: gcc.c-torture/execute/builtins/strcpy-chk.c execution,  -O2 -fwhopr 
FAIL: gcc.dg/torture/builtin-math-7.c  -O2 -flto   -O2 -flto (... x2)
FAIL: gcc.dg/torture/builtin-math-7.c  -O2 -fwhopr   -O2 -fwhopr (... x2)

g++:
FAIL: g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o execute -O0 
-fwhopr
FAIL: g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o execute -O2 
-fwhopr
FAIL: g++.dg/lto/20081123 cp_lto_20081123_0.o-cp_lto_20081123_1.o link
FAIL: g++.dg/lto/20090106 cp_lto_20090106_0.o-cp_lto_20090106_0.o link
FAIL: g++.dg/lto/20090106 cp_lto_20090106_0.o-cp_lto_20090106_0.o link

gfortran:
FAIL: gfortran.dg/lto/pr40725 f_lto_pr40725_0.o-f_lto_pr40725_1.o execute -O2 
-fwhopr
FAIL: gfortran.dg/lto/pr40725 f_lto_pr40725_0.o-f_lto_pr40725_1.o execute -O2 
-flto

Reply via email to