| Summary: | math/gmp: Fails to build for armv6: configuration and/or compilation issue | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | mmitchel | ||||||||
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||||||
| Status: | Closed FIXED | ||||||||||
| Severity: | Affects Only Me | CC: | bugs.freebsd.org, mikael, rezny | ||||||||
| Priority: | --- | Keywords: | needs-qa | ||||||||
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(ale) koobs: merge-quarterly? |
||||||||
| Hardware: | arm | ||||||||||
| OS: | Any | ||||||||||
| Attachments: |
|
||||||||||
|
Description
mmitchel
2015-12-31 20:48:38 UTC
Don't enable CPU_OPTS build option. Created attachment 165165 [details]
poudriere bulk log
moved forward to math/gmp from ports head. different issue, log file attached. uses the native tool chain in the armv6 jail.
/nxb-bin/usr/bin/make all-recursive
Making all in tests
Making all in .
Making all in devel
Making all in mpn
Making all in mpz
Making all in mpq
Making all in mpf
Making all in rand
Making all in misc
Making all in cxx
Making all in mpn
*** [fib_table.lo] Error code 1
make[3]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3/mpn
1 error
make[3]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3/mpn
*** [all-recursive] Error code 1
make[2]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3
1 error
make[2]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3
*** [all] Error code 2
make[1]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3
1 error
make[1]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3
*** Error code 1
Stop.
make: stopped in /usr/ports/math/gmp
====>> Cleaning up wrkdir
===> Cleaning for gmp-5.1.3_2
(In reply to Alex Dupre from comment #1) 1. Ports resync to head revision 2. Poudriere Cross Compilation Performed Removing Specific Ports Options Flags 3. Different Failure Logged and Log Submitted Typical commands to create and initialize a poudriere jail: 1. Obtain a ports tree (HEAD) poudriere ports -c -m svn+https -U https://svn.freebsd.org/ports -p HEAD -B head 2. Create a cross compile jail (ARMV6) poudriere jails -c -m svn+https -U https://svn.freebsd.org/base -j ARMV6 -a arm.armv6 -x -v head@292858 3. Run the bulk command to build the specific port (math/gmp) poudriere bulk ... -j ARMV6 -p HEAD math/gmp It builds fine on beefy8: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p405059_s293048/logs/gmp-5.1.3_2.log (In reply to mikael.urankar from comment #5) the armv6 jail revision is different, i select the revision that reflects images available at download.freebsd.org building for: FreeBSD head-armv6-default-job-16 11.0-CURRENT FreeBSD 11.0-CURRENT r293048 arm vs building for: FreeBSD pkg.brainhoard.com 11.0-CURRENT FreeBSD 11.0-CURRENT r292858 arm is there a user mode change that could be responsible? thx Affects all Raspberry Pi builds, depends on CPU optimization flag (c/f comment 1), checked on FreeBSD 12.0-CURRENT #0 r307523 Created attachment 184374 [details]
ARMv6 build fix
It seems this port needs MAKE_JOBS_UNSAFE for ARM. Adding that fixes the build for armv6.
it's fixed with ports r458016 |