-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build libgcc #30
Comments
I have the same issue. Inspecting I'm compiling under Mac OS X 10.7.5, using Xcode 4.3.3 command line tools. |
Same issue here too. Went smoothly until now. Tried ldconfig but still problems. Any thoughts/suggestions? this happens when running summon_arm_toolchain script under ubuntu 12.04 |
Personally, I went for the yagarto toolchain and created a Homebrew formula for it: https://github.com/pekkanikander/homebrew/blob/master/Library/Formula/arm-eabi-gcc-yagarto.rb |
Thank you pekkanikander I will give it a try. |
Why are you using TARGET=arm-elf? You almost certainly want arm-none-eabi. |
Is this still an issue? Does using arm-none-eabi help? Can we close it? |
Still an issue, yes. Using arm-non-eabi doesn't help either. config.log for arm-none-eabi: This file contains any messages produced by compilers while It was created by GNU C Runtime Library configure 1.0, which was $ /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgcc/configure --cache-file=./config.cache --with-newlib --with-cross-host=x86_64-unknown-linux-gnu --prefix=/home/sven/sat --enable-multilib --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls --enable-languages=c,c++,lto --program-transform-name=s&^&arm-none-eabi-& --disable-option-checking --with-target-subdir=arm-none-eabi --build=x86_64-unknown-linux-gnu --host=arm-none-eabi --target=arm-none-eabi --srcdir=../../../gcc-linaro-4.7-2013.01/libgcc ---------Platform.---------hostname = desv-vaio-mint /usr/bin/uname -p = unknown /bin/arch = unknown PATH: /home/sven/sat/bin -----------Core tests.-----------configure:1968: loading cache ./config.cache configure:3355: $? = 0 ----------------Cache variables.----------------ac_cv_build=x86_64-unknown-linux-gnu -----------------Output variables.-----------------AR='arm-none-eabi-ar' -----------confdefs.h.-----------/* confdefs.h */ configure: exit 1 config.log for /summon-arm-toolchain: This file contains any messages produced by compilers while It was created by GNU C Runtime Library configure 1.0, which was $ /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgcc/configure --cache-file=./config.cache --with-newlib --with-cross-host=x86_64-unknown-linux-gnu --prefix=/usr/local/summon-arm-toolchain --enable-multilib --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls --enable-languages=c,c++,lto --program-transform-name=s&^&arm-none-eabi-& --disable-option-checking --with-target-subdir=arm-none-eabi --build=x86_64-unknown-linux-gnu --host=arm-none-eabi --target=arm-none-eabi --srcdir=../../../gcc-linaro-4.7-2013.01/libgcc ---------Platform.---------hostname = desv-vaio-mint /usr/bin/uname -p = unknown /bin/arch = unknown PATH: /usr/local/summon-arm-toolchain/bin -----------Core tests.-----------configure:1968: loading cache ./config.cache configure:3355: $? = 0 ----------------Cache variables.----------------ac_cv_build=x86_64-unknown-linux-gnu -----------------Output variables.-----------------AR='/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ar' -----------confdefs.h.-----------/* confdefs.h */ configure: exit 1 |
This is also occurring as arm-none-eabi for me |
I'm having a similar issue. Here's my build/arm-none-eabi/libgcc/config.log: http://pastebin.com/FpXwRhgZ Searching for "error", I'm having this output: [...] And long after that, there are two "conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory". Regards |
@marcelofernandez - That is unrelated to this issue as it is not due to the '-meabi' error |
I found the issue... it is because binutils was not built due to a stamp file existing to say it had built. For those that are having trouble, try |
@gnif, you're right, sorry. I'll try to clone the repo again and create an issue if it happends again. Regards. |
gnif, you're a genius! It worked for me too! Pure awesomeness++! Thank you! :-) 👍 |
Perhaps consider adding This did not work for me on OS X.
|
Disregard. Apparently copy/paste from github via Chrome to terminal does not always work in a WYSIWYG way and I had not actually deleted the stamp files. facepalm
|
@gnif how did you figure out that the error could be solved in that way? |
This is the output, it fails when it tries to build libgcc. I'm compiling with TARGET=arm-elf
The text was updated successfully, but these errors were encountered: