Giter VIP home page Giter VIP logo

Comments (5)

kientzle avatar kientzle commented on May 23, 2024

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.

teverett avatar teverett commented on May 23, 2024

my host platform is amd64. How do I dump the environment to show you?

from crochet.

teverett avatar teverett commented on May 23, 2024

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.

teverett avatar teverett commented on May 23, 2024

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.

kientzle avatar kientzle commented on May 23, 2024

Please file a FreeBSD bug as well: make buildenvvars should include that.

from crochet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.