Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2012 18:52:29 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: devel/valgrind fails to build on 9.0
Message-ID:  <4F13125D.4010008@gmail.com>
In-Reply-To: <CAO%2BPfDeCs3Wv4zxQszhw5JEW%2BMUaLyh2qyt08hvRyVKaSUcYNg@mail.gmail.com>
References:  <CAO%2BPfDeCs3Wv4zxQszhw5JEW%2BMUaLyh2qyt08hvRyVKaSUcYNg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F13125D.4010008>