Bug 250142 - devel/libffi fails to build on mips64 in -current
Summary: devel/libffi fails to build on mips64 in -current
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Niclas Zeising
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-05 15:37 UTC by tech-lists
Modified: 2020-10-05 15:37 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (zeising)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tech-lists 2020-10-05 15:37:35 UTC
Hi,

poudriere-devel for mips64 running on a -current amd64  system, devel/libffi fails here:

[ poudriere testport -j erl3-mips64 -J1 devel/libffi ]

[00:00:41] --- src/mips/n32.lo ---
[00:00:41] libtool: compile:  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../includ
e -Iinclude -I../src -O2 -pipe -G0 -EB -mabi=64 -msoft-float -fno-strict-aliasing -MT src/mips/n32.lo -MD -MP -MF src/mips/.de
ps/n32.Tpo -c ../src/mips/n32.S  -fPIC -DPIC -o src/mips/.libs/n32.o
[00:00:41] ../src/mips/n32.S:585:9: error: changed section flags for .eh_frame, expected: 0x2
[00:00:41]         .section .eh_frame,"aw",@progbits
[00:00:41]         ^
[00:00:41] *** [src/mips/n32.lo] Error code 1
[00:00:41] 
[00:00:41] make[4]: stopped in /wrkdirs/usr/ports/devel/libffi/work/libffi-3.3/mips64-portbld-freebsd13.0
[00:00:41] 1 error
[00:00:41] 
[00:00:41] make[4]: stopped in /wrkdirs/usr/ports/devel/libffi/work/libffi-3.3/mips64-portbld-freebsd13.0
[00:00:41] *** [all] Error code 2
[00:00:41] 
[00:00:41] make[1]: stopped in /wrkdirs/usr/ports/devel/libffi/work/libffi-3.3
[00:00:41] 1 error
[00:00:41] 
[00:00:41] make[1]: stopped in /wrkdirs/usr/ports/devel/libffi/work/libffi-3.3
[00:00:41] ===> Compilation failed unexpectedly.
[00:00:41] Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
[00:00:41] the maintainer.
[00:00:41] *** Error code 1
[00:00:41] 
[00:00:41] Stop.
[00:00:41] make: stopped in /usr/ports/devel/libffi
[00:00:41] build of devel/libffi | libffi-3.3_1 ended at Mon Oct  5 16:02:04 BST 2020
[00:00:41] build time: 00:00:33
[00:00:41] !!! build failure encountered !!!
[00:00:41] Error: Build failed in phase: build
[00:00:41] Logs: /usr/local/poudriere/data/logs/bulk/erl3-mips64-default/2020-10-05T16:01:23Z

the poudriere jail was built with -x, ie native x-tools.

# poudriere jail -l
JAILNAME    VERSION                      ARCH        METHOD    TIMESTAMP           PATH
erl3-mips64 13.0-CURRENT 1300118 r366429 mips.mips64 svn+https 2020-10-04 17:42:48 /usr/local/poudriere/jails/erl3-mips64

# poudriere ports -lvvv
=>> Debug: Reading /usr/local/etc/poudriere.conf
PORTSTREE METHOD    TIMESTAMP           PATH
default   svn+https 2020-09-19 20:34:01 /wd/poudriere/ports/default

# svn info /wd/poudriere/ports/default
Path: /wd/poudriere/ports/default
Working Copy Root Path: /wd/poudriere/ports/default
URL: https://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: https://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 550489
Node Kind: directory
Schedule: normal
Last Changed Author: dbaio
Last Changed Rev: 549053
Last Changed Date: 2020-09-19 20:32:52 +0100 (Sat, 19 Sep 2020)