This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG 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] |
Hi Yann. On 7/08/2012 12:29 AM, Yann E. MORIN wrote:> > Indded, this config file does not build. > I tested the bundled i686-pc-mingw32 sample, and it does build without > this error. > > When I'm back home, I'll look at this issue. > > > But for all other cases, the libc_start_files *does* require a core pass-1 > compiler to be present (because it compiles code for the target). > > So, this change is a workaround only for the mingw32 target, and would break > in all other cases. > Did you end up having any luck looking at this? I am trying to build a i686-pc-minw32 cross on a x86 linux box and am having this exact issue. [EXTRA] Dumping internal crosstool-NG configuration [EXTRA] Building a toolchain for: [EXTRA] build = x86_64-unknown-linux-gnu [EXTRA] host = x86_64-unknown-linux-gnu [EXTRA] target = i686-pc-mingw32 I have tried with: 1. 1.16.0; 2. A repo checkout on 2012/11/09; and 3. the newly released 1.17.0. You told Per that the workaround he suggested was a good long-term solution because it would break other platforms, so I did not pursue that idea. I have attached the configuration file that I used in my latest test. It is quite similar to sample "i686-pc-mingw32" But in summary, my changes from defaults: CT_EXPERIMENTAL=y CT_LOCAL_TARBALLS_DIR="${HOME}/src-tarballs" CT_SAVE_TARBALLS=y CT_ARCH="x86" CT_ARCH_ARCH="i686" CT_TARGET_VENDOR="pc" CT_KERNEL_mingw32=y CT_BINUTILS_PLUGINS=y CT_CC_GCC_SHOW_LINARO=y CT_CC_V_linaro_4_7_2012_10=y CT_CC_SUPPORT_CXX=y CT_MINGW_DIRECTX=y CT_MINGW_OPENGL=y CT_MINGW_PDCURSES=y CT_MINGW_GNURX=y The actual error output in the log is the same as Per's: [INFO ] ================================================================= [INFO ] Installing pass-1 core C compiler [EXTRA] Configuring core C compiler [EXTRA] Building core C compiler [ERROR] make[2]: *** [stmp-fixinc] Error 1 [ERROR] make[1]: *** [all-gcc] Error 2 [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Installing pass-1 core C compiler' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@258] [ERROR] >> called from: do_cc_core_backend[scripts/build/cc/gcc.sh@434] [ERROR] >> called from: do_cc_core_pass_1[scripts/build/cc/gcc.sh@96] [ERROR] >> called from: main[scripts/crosstool-NG.sh@609] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> '/usr/local/share/doc/crosstool-ng/ct-ng.1.17.0/B - Known issues.txt' [ERROR] [ERROR] (elapsed: 3:05.08) [03:05] / make: *** [build] Error 2 Regards, Paul
Attachment:
.config
Description: application/xml
-- 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] |