Re: Error building -current on i386

From: David Wolfskill <david_at_catwhisker.org>
Date: Mon, 20 Jul 2009 09:11:41 -0700
On Mon, Jul 20, 2009 at 12:58:27PM -0300, Renato Botelho wrote:
> # uname -a
> FreeBSD botelhor.bplab.local 8.0-BETA2 FreeBSD 8.0-BETA2 #78 r195716:
> Thu Jul 16 08:45:28 BRT 2009
> root_at_botelhor.bplab.local:/usr/obj/usr/src/sys/GARGA  i386
> 
> I'm trying to build -current r195782 but i got this:
> 
> I tried to remove /usr/objj, ran make clean twice, but the problem persists.
> 
> ===> gnu/usr.bin/gperf/doc (depend)
> c++ -O2 -pipe -I/usr/obj/usr/src/tmp/legacy/usr/include
> ...
> /usr/lib/libgcc_eh.a(unwind-dw2.o)(.text+0x1e0d): In function
> `_Unwind_RaiseException':
> : undefined reference to `__stack_chk_fail_local'
> /usr/lib/libgcc_eh.a(unwind-dw2.o)(.text+0x1fe1): more undefined
> references to `__stack_chk_fail_local' follow
> *** Error code 1
> ...

I encountered this last week, and resolved it (in my case) over the
weekend:  I found that

	pushd gnu/lib/libgcc && make clean && make && make install

allowed my build to proceed.

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Mon Jul 20 2009 - 14:35:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC