pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: firefox-41.0 build fails on netbsd-7/i386



On Fri, 25 Sep 2015 23:22:35 +0900 (JST)
Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost> wrote:

> >> The build still fails in the same way as before:
> >> 
> > 
> > Hmm... Strange.
> > I will try to build www/firefox under NetBSD/i386 7.0_RC3 again.
> 
> Hmm... I cannot reproduce your problem.
> Could you provide me your www/firefox/work/.work.log file?

-march=i486 is not sufficient; it must have i586 for cmpxchg8b.
Here is a test program to verify this.
It will emit unresolved references to libatomic if you don't
use -march=i586 or higher.

int main(void) {uint64_t x=0; return __sync_fetch_and_add(&x, 0);}

-Tobias


Home | Main Index | Thread Index | Old Index