devel/valgrind fails to build on 9.0

David Demelier demelier.david at gmail.com
Sun Jan 15 17:52:32 UTC 2012


On 13/01/2012 18:50, David Demelier wrote:
> Hi there,
>
> Since my update to 9.0 I tried to update valgrind but it fails to build:
>
> cc -B/usr/lib32 -m32 -O2 -g -Wall -Wmissing-prototypes -Wshadow
> -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
> -Wno-format-zero-length -fno-strict-aliasing -fpic -O -g
> -fno-omit-frame-pointer -fno-strict-aliasing -Wno-long-long -O2 -pipe
> -fno-strict-aliasing -Wno-pointer-sign -fno-stack-protector
> -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst -B/usr/lib32 -m32
>   -o vgpreload_core-x86-freebsd.so
> vgpreload_core_x86_freebsd_so-vg_preloaded.o
> /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/crti.o'
> is incompatible with i386 output
> /usr/bin/ld: i386:x86-64 architecture of input file
> `/usr/lib/crtbeginS.o' is incompatible with i386 output
> /usr/bin/ld: i386:x86-64 architecture of input file
> `/usr/lib/crtendS.o' is incompatible with i386 output
> /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/crtn.o'
> is incompatible with i386 output
> cc: Internal error: Segmentation fault: 11 (program ld)
> Please submit a full bug report.
> See<URL:http://gcc.gnu.org/bugs.html>  for instructions.
> gmake[3]: *** [vgpreload_core-x86-freebsd.so] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/devel/valgrind/work/valgrind-freebsd-3.6.1-2/coregrind'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/devel/valgrind/work/valgrind-freebsd-3.6.1-2/coregrind'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/devel/valgrind/work/valgrind-freebsd-3.6.1-2'
> gmake: *** [all] Error 2
> *** Error code 1
>
> I'm guessing if my WITHOUT_LIB32 may cause this error. This is on my
> amd64 machine.
>
> Cheers,
>

Forget, I didn't have enough swap space...

-- 
David Demelier


More information about the freebsd-ports mailing list