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] |
Paolo, All, On Thursday 15 July 2010 13:40:34 Mastrambo wrote: > I got an error tring to build the?i686-nptl-linux-gnu sample > configuration on Cygwin. > Attached, you can find the crosstool-ng log file. First, do not ever, ever send such a big file on a mailing list again. I for one don't care, as I have broadband access, but there may be people that are behind dial-up, and that can't afford the bandwidth for such a file. Pfeww. 8.5 MiB! At least, compress the file, nest time, please... > I'm a a cross-compiling newbie... can anyone help me working it out? Looks like an issue with gcc being unable to link with static ppl. This is a known issue. There is a patch pending, but unfortiunately, it is not available in the archives (due to an incorrect CC field when submitted). The attached patch is absolutely untested, and is definitely _not_ the proper fix, but if you confirm that it fixes the issue on your side, then I can come with a proper fix. The patch applies to current head of the repository, and may not apply to 1.7.x. Care to test and submit the result, please? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -164,6 +164,11 @@ if [ "${CT_COMPLIBS_SHARED}" != "y" ]; then core_LDFLAGS='-lstdc++' fi + +# THIS IS A HACK FOR TEST ONLY! +# DO NOT PROPAGATE THIS PATCH! +final_LDFLAGS='-lstdc++' + if [ "${CT_CC_GCC_USE_GMP_MPFR}" = "y" ]; then extra_config+=("--with-gmp=${CT_COMPLIBS_DIR}") extra_config+=("--with-mpfr=${CT_COMPLIBS_DIR}") @@ -344,6 +349,11 @@ if [ "${CT_COMPLIBS_SHARED}" != "y" ]; then final_LDFLAGS='-lstdc++' fi + +# THIS IS A HACK FOR TEST ONLY! +# DO NOT PROPAGATE THIS PATCH! +final_LDFLAGS='-lstdc++' + if [ "${CT_CC_GCC_USE_GMP_MPFR}" = "y" ]; then extra_config+=("--with-gmp=${CT_COMPLIBS_DIR}") extra_config+=("--with-mpfr=${CT_COMPLIBS_DIR}") diff --git a/scripts/build/companion_libs/cloog.sh b/scripts/build/companion_libs/cloog.sh --- a/scripts/build/companion_libs/cloog.sh +++ b/scripts/build/companion_libs/cloog.sh @@ -59,6 +59,10 @@ cloog_LDFLAGS='-lstdc++' fi +# THIS IS A HACK FOR TEST ONLY! +# DO NOT PROPAGATE THIS PATCH! +cloog_LDFLAGS='-lstdc++' + CFLAGS="${CT_CFLAGS_FOR_HOST}" \ LDFLAGS="${cloog_LDFLAGS}" \ CT_DoExecLog ALL \
-- 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] |