Subject: Re: gcc 3.3 & '/usr/bin/ld: cannot find -lgcc_eh'
To: grant beattie <grant@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 06/08/2003 21:14:39
On Mon, 9 Jun 2003, grant beattie wrote:
> On Sun, Jun 08, 2003 at 06:55:34PM +0100, David wrote:
>
> > mail/imap-uw overrides CFLAGS and LDFLAGS and fails to link with
> > gcc3:
> >
> > [...]
>
> > /usr/bin/ld: cannot find -lgcc_eh
> > collect2: ld returned 1 exit status
> >
> > Running the 'make build' command by hand (without the buildlink PATH
> > setting) causes everything to build correctly.
> >
> > Any thoughts as to how to approach this?
>
> include mk/gcc.buildlink2.mk so it can find libgcc_eh.
Should every program thet gets built with gcc3 include
mk/gcc.buildlink2.mk (as in should there be a test for that
in bsd.pkg.mk?)
--
David/absolute -- www.netbsd.org: No hype required --