This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
slowly tracking down the last couple issues with this x86_64 build and, in the last pass, i had two errors of the form: error: #error "glibc cannot be compiled without optimization" while trying to build the glibc headers. as a quick hack, i made the following change in crosstool.sh: --- crosstool.sh (revision 15) +++ crosstool.sh (working copy) @@ -441,7 +441,7 @@ fi # Note: BOOTSTRAP_GCC is used by patches/glibc-2.3.5/glibc-mips-bootstrap-gcc-header-install.patch libc_cv_ppc_machine=yes \ - make cross-compiling=yes install_root=${SYSROOT} CFLAGS=-DBOOTSTRAP_GCC $GLIBC_SYSROOT_ARG install-headers + make cross-compiling=yes install_root=${SYSROOT} CFLAGS="-O -DBOOTSTRAP_GCC" $GLIBC_SYSROOT_ARG install-headers # Two headers -- stubs.h and features.h -- aren't installed by install-headers, # so do them by hand. We can tolerate an empty stubs.h for the moment. i have no idea whether that was the *proper* fix but it got rid of those two diagnostic messages. (those errors weren't fatal to the build, but i figured it was worth dealing with them, anyway.) was that the right approach? is that something that should be added to crosstool.sh? rday p.s. i'm still getting all those error: #error "TLS support is required." diagnostics. still trying to figure out what to do about those. man, it's been a long day. rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main_Page ======================================================================== -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |