pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47460 (lang/gcc47 gets undefined reference to `__sync_bool_compare_and_swap_4')
The following reply was made to PR pkg/47460; it has been noted by GNATS.
From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost, makoto%ki.nu@localhost
Cc:
Subject: Re: pkg/47460 (lang/gcc47 gets undefined reference to
`__sync_bool_compare_and_swap_4')
Date: Fri, 18 Jan 2013 05:51:02 +0900 (JST)
Hi,
Adding the following code in Makefile will help you.
But there is another gcj-related error will appear.
.include "../../mk/compiler.mk"
.if !empty(OPSYS:MNetBSD) && !empty(CC_VERSION:Mgcc-4.[0-2]*) &&
!empty(MACHINE_ARCH:Mi?86)
CFLAGS+=-march=i586
.endif
--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index