I'm having a problem getting poudriere to cross compile ports when using a 13.1 jail. 13.0 works fine. The error was "No working C compiler found. Tried /nvb-bin/usr/bin/cc and gcc."
I create the jails with the following:
works fine,
fails. (trunkaarch64 is a 2022Q2 ports tree.) I entered the 13.1 jail with `testport -i` (actually, I entered both in separate windows to compare them), used /nxb-bin/usr/bin/cc to compile a simple 1-line C program and got this:
So I tried
, and found that /nxbin/usr/bin/cc is producing x86_64 object files by default. This seems less than optimal in an ARM jail. Can anyone help me get past this, or at least tell me where to report a bug?
Much thanks.
- Steve
I create the jails with the following:
Code:
poudriere jails -c -j 130aarch64 -v 13.0-RELEASE -m http -x -a arm64.aarch64
poudriere jails -c -j 131aarch64 -v 13.1-RELEASE -m http -x -a arm64.aarch64
Code:
poudriere bulk -j 130aarch64 -p trunkaarch64 ports-mgmt/pkg
Code:
poudriere bulk -j 131aarch64 -p trunkaarch64 ports-mgmt/pkg
Code:
ld: error: /tmp/c-5dc3bb.o is incompatible with /usr/lib/crt1.o
cc: error: linker command failed with exit code 1 (use -v to see invocation)
So I tried
Code:
/nxb-bin/usr/bin/cc -c c.c
Much thanks.
- Steve
Last edited: