pkgsrc-Bugs archive

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

Re: pkg/54238: security/argon2 build fails on i386-current (8.99.41)



The following reply was made to PR pkg/54238; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/54238: security/argon2 build fails on i386-current (8.99.41)
Date: Mon, 27 May 2019 01:12:09 +0000

 This is fallout from fixing -march=native on netbsd.
 opt.c has a build test if -march=native compilation works.
 if it succeeds, it'll add opt.c to the build.
 
 -march=native now works and detects sse2 on your machine, so it builds
 with sse2 support. but in the real build, no sse2 is use.d
 
 generally, we don't use -march=native in packages, as it results in
 unportable binaries (the build machines are usually stronger than the
 expected user machines).
 
 but it would be a shame to disable opt.c entirely, since the worst case
 of SSE2 works fine for all of amd64.
 


Home | Main Index | Thread Index | Old Index