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] |
On Fri, Nov 27, 2015 at 4:07 PM, Ray Donnelly <mingw.android@gmail.com> wrote: > On Fri, Nov 27, 2015 at 2:24 PM, Thies Peter Thiesen > <Thies-Peter.Thiesen@gmx.de> wrote: >> Hello all! Date: 2015-11-27 (Fr 27 Nov 2015) >> >> ich have installed the now current cygwin environment. >> cygwin version >> uname -srv >> CYGWIN_NT-6.1-WOW 2.3.1(0.291/5/3) 2015-11-14 12:42 >> >> I try to build a powerpc cross compiler >> ct-ng powerpc-unknown-linux-gnu >> ct-ng menuconfig (used the defaults and enable the debug) >> ct-ng build >> [INFO ] Performing some trivial sanity checks >> [INFO ] Build started 20151127.095926 >> [INFO ] Building environment variables >> [EXTRA] Preparing working directories >> [EXTRA] Installing user-supplied crosstool-NG configuration >> [EXTRA] ================================================================= >> [EXTRA] Dumping internal crosstool-NG configuration >> [EXTRA] Building a toolchain for: >> [EXTRA] build = i686-pc-cygwin >> [EXTRA] host = i686-pc-cygwin >> [EXTRA] target = powerpc-unknown-linux-gnu >> [EXTRA] Dumping internal crosstool-NG configuration: done in 0.78s (at 03:35) >> [INFO ] ================================================================= >> [INFO ] Retrieving needed toolchain components' tarballs >> [INFO ] Retrieving needed toolchain components' tarballs: done in 2.37s (at 03:37) >> [INFO ] ================================================================= >> [INFO ] Extracting and patching toolchain components >> [INFO ] Extracting and patching toolchain components: done in 9.09s (at 03:46) >> [INFO ] Saving state to restart at step 'libc_check_config'... >> [INFO ] Saving state to restart at step 'companion_libs_for_build'... >> [INFO ] ================================================================= >> [INFO ] Installing ncurses for build >> [EXTRA] Configuring ncurses >> [EXTRA] Building ncurses >> [EXTRA] Installing ncurses >> [INFO ] Installing ncurses for build: done in 242.70s (at 07:52) >> [INFO ] ================================================================= >> [INFO ] Installing libiconv for build >> [EXTRA] Configuring libiconv >> [EXTRA] Building libiconv >> [EXTRA] Installing libiconv >> [ERROR] collect2: error: ld returned 1 exit status >> [ERROR] make[2]: *** [install] Error 1 >> [ERROR] make[1]: *** [install] Error 2 >> [ERROR] >> [ERROR] >> >> [ERROR] >> Build failed in step 'Installing libiconv for build' >> [ERROR] >> called in step '(top-level)' >> [ERROR] >> >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257] >> [ERROR] >> called from: do_libiconv_backend[scripts/build/companion_libs/320-libiconv.sh@111] >> [ERROR] >> called from: do_libiconv_for_build[scripts/build/companion_libs/320-libiconv.sh@39] >> [ERROR] >> called from: do_companion_libs_for_build[scripts/build/companion_libs.sh@29] >> [ERROR] >> called from: main[scripts/crosstool-NG.sh@646] >> >> build.log >> [ALL ] cd src && /usr/bin/make install prefix='/usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools' exec_prefix='/usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools' libdir='/usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib' >> [ALL ] make[2]: Entering directory '/usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/build/build-libiconv-build-i686-build_pc-cygwin/src' >> [ALL ] test `ls -ld . | sed -e 's/^d(.........).*/1/'` = rwxrwxrwx || chmod 777 . >> [ALL ] if [ ! -d /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/bin ] ; then /bin/sh /usr/home2/crosstool_1_22/.build/src/libiconv-1.14/build-aux/mkinstalldirs /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/bin ; fi >> [ALL ] case "cygwin" in hpux*) i686-build_pc-cygwin-gcc -O2 -g -O2 -g `if test -n ''; then /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/bin; fi` iconv.o ../srclib/libicrt.a -L/usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib -liconv -lintl iconv.res `if test -n ''; then echo " -Wl,+b -Wl,/usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib"; fi` -o iconv.exe;; *) /usr/bin/bash ../libtool --mode=link i686-build_pc-cygwin-gcc -O2 -g -O2 -g `if test -n ''; then /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/bin; fi` iconv.o ../srclib/libicrt.a /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib/libiconv.la -lintl iconv.res -o iconv.exe;; esac >> [ALL ] libtool: link: i686-build_pc-cygwin-gcc -O2 -g -O2 -g iconv.o iconv.res -o iconv.exe ../srclib/libicrt.a /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib/libiconv.a >> [ALL ] /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib/libiconv.a(iconv.o): In function `libiconv_open': >> [ALL ] /usr/home2/crosstool_1_22/.build/src/libiconv-1.14/lib/iconv.c:219: multiple definition of `libiconv_open' >> [ALL ] /usr/lib/libiconv.dll.a(d000009.o):(.text+0x0): first defined here >> [ALL ] /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib/libiconv.a(iconv.o): In function `libiconv': >> [ALL ] /usr/home2/crosstool_1_22/.build/src/libiconv-1.14/lib/iconv.c:249: multiple definition of `libiconv' >> [ALL ] /usr/lib/libiconv.dll.a(d000007.o):(.text+0x0): first defined here >> [ALL ] /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib/libiconv.a(iconv.o): In function `libiconv_close': >> [ALL ] /usr/home2/crosstool_1_22/.build/src/libiconv-1.14/lib/iconv.c:260: multiple definition of `libiconv_close' >> [ALL ] /usr/lib/libiconv.dll.a(d000008.o):(.text+0x0): first defined here >> [ALL ] /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib/libiconv.a(iconv.o): In function `libiconvctl': >> [ALL ] /usr/home2/crosstool_1_22/.build/src/libiconv-1.14/lib/iconv.c:303: multiple definition of `libiconvctl' >> [ALL ] /usr/lib/libiconv.dll.a(d000013.o):(.text+0x0): first defined here >> [ALL ] /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib/libiconv.a(iconv.o): In function `libiconvlist': >> [ALL ] /usr/home2/crosstool_1_22/.build/src/libiconv-1.14/lib/iconv.c:378: multiple definition of `libiconvlist' >> [ALL ] /usr/lib/libiconv.dll.a(d000014.o):(.text+0x0): first defined here >> [ALL ] /usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/buildtools/lib/libiconv.a(iconv.o): In function `iconv_canonicalize': >> [ALL ] /usr/home2/crosstool_1_22/.build/src/libiconv-1.14/lib/iconv.c:488: multiple definition of `iconv_canonicalize' >> [ALL ] /usr/lib/libiconv.dll.a(d000006.o):(.text+0x0): first defined here >> [ERROR] collect2: error: ld returned 1 exit status >> [ALL ] Makefile:113: recipe for target 'install' failed >> [ERROR] make[2]: *** [install] Error 1 >> [ALL ] make[2]: Leaving directory '/usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/build/build-libiconv-build-i686-build_pc-cygwin/src' >> [ALL ] Makefile:52: recipe for target 'install' failed >> [ERROR] make[1]: *** [install] Error 2 >> [ALL ] make[1]: Leaving directory '/usr/home2/crosstool_1_22/.build/powerpc-unknown-linux-gnu/build/build-libiconv-build-i686-build_pc-cygwin' >> [ERROR] >> [ERROR] >> >> [ERROR] >> Build failed in step 'Installing libiconv for build' >> [ERROR] >> called in step '(top-level)' >> [ERROR] >> >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257] >> [ERROR] >> called from: do_libiconv_backend[scripts/build/companion_libs/320-libiconv.sh@111] >> [ERROR] >> called from: do_libiconv_for_build[scripts/build/companion_libs/320-libiconv.sh@39] >> [ERROR] >> called from: do_companion_libs_for_build[scripts/build/companion_libs.sh@29] >> [ERROR] >> called from: main[scripts/crosstool-NG.sh@646] >> >> Current command: >> '/usr/bin/make' 'install' 'CC=i686-build_pc-cygwin-gcc -O2 -g ' >> exited with error code: 2 >> Please fix it up and finish by exiting the shell with one of these values: >> 1 fixed, continue with next build command >> 2 repeat this build command >> 3 abort build >> ct-ng:~/crosstool_1_22/.build/powerpc-unknown-linux-gnu/build/build-libiconv-build-i686-build_pc-cygwin> >> >> >> What can I do to get it running? > > Please list the output of: > > cygcheck -c > > For now, you could uninstall your iconv package as that's causing a > conflict here. I will look into making sure that it doesn't conflict. > You could also create a new cygwin installation and install *only* the > packages listed here: > https://github.com/crosstool-ng/crosstool-ng/blob/master/docs/C%20-%20Misc.%20tutorials.txt#L336 > Hi Thies Peter, I've made some progress on this. Would it be possible for you to test https://github.com/crosstool-ng/crosstool-ng/pull/291 - or, currently at least, equivalently https://github.com/diorcety-ctng/crosstool-ng/tree/cygwin-more-fixes - and let me know how you get on? You shouldn't need to uninstall anything now. -- Best regards, Ray. > Thanks, > > Ray. > >> >> Thanks, >> Thies Peter >> >> -- >> For unsubscribe information see http://sourceware.org/lists.html#faq >> -- 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] |