Comments (5)
What is your host platform?
I made changes to this area so that it would correctly cross-build. In particular, I am now able to successfully build an i386 VMWareGuest on an ARMv6 host.
This involved changing the loader build to use 'make buildenvvars' to get the appropriate cross-build environment before building the i386 loader. To diagnose this, you'll want to dump that environment to see what's going wrong. Building i386 on i386 should be supported by this approach (that is, we should not have to detect whether this a cross-build or not; the FreeBSD build system should DTRT in both cases).
from crochet.
my host platform is amd64. How do I dump the environment to show you?
from crochet.
Does this help?
MAKEOBJDIRPREFIX=/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386 MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp/legacy/usr/bin GROFF_FONT_PATH=/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp _LDSCRIPTROOT= VERSION="FreeBSD 11.0-CURRENT i386 1100032" INSTALL="sh /storage/home/tom/crochet/src/FreeBSDHead/head/tools/install.sh" PATH=/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp/legacy/usr/sbin:/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp/legacy/usr/bin:/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp/legacy/usr/games:/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp/legacy/bin:/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp/usr/sbin:/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp/usr/bin:/storage/home/tom/crochet-kientzle/crochet-freebsd/work/obj/i386.i386/storage/home/tom/crochet/src/FreeBSDHead/head/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin CC="cc " CXX="c++ " CPP="cpp " AS="as" AR="ar" LD="ld" NM=nm OBJDUMP= RANLIB=ranlib STRINGS=
from crochet.
Adding this line to the method fixes the problem
export MAKESYSPATH=${FREEBSD_SRC}/share/mk
I'll check in the fix with some other fixes I'm making
from crochet.
Please file a FreeBSD bug as well: make buildenvvars should include that.
from crochet.
Related Issues (20)
- Can't boot BPI-M3 v1.2
- Already installed sysutils/u-boot-bananapi but still being asked to HOT 3
- armv6 build fails with libc++ problems (tried RPI-B and Cubieboard1)
- u-boot/u-boot-rpi3/armstub8.bin HOT 5
- Installworld failed:ERROR: Required ntpd user is missing HOT 12
- Should offer a 'clean' option
- Crochet can't see installed port u-boot-rpi HOT 2
- STABLE-12 blows up during RPI3 build
- Add lzop as compression option to CompressImage
- Question: odroid c1
- installworld failure of 12-STABLE / RPi3
- option PackageInit fails if option Resolv isn't set and there is no /etc/resolv.conf in the overlay
- option PackageInit fails for https repos
- Check for all u-boot boards if boot.scr is copied to fat partition
- RPI4 support HOT 3
- Instructions for ports u-boot install incorrect HOT 1
- FreeBSD sources expected at /usr/src HOT 1
- Is this project still being maintained? HOT 1
- Any support for Nano Pi Neo3 ?
- Can crochet run from Linux? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crochet.