BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001164 [uClibc] Shared Library Support crash always 01-17-07 22:32 06-27-07 14:25
Reporter linux_junkie View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version 0.9.28
Summary 0001164: libgfortran build crashes with uClibc and gcc 4.2
Description When building with buildroot and the latest gcc snapshot the build crashes:


Checking multilib configuration for libgfortran...
make[3]: Entering directory `/root/buildroot/toolchain_build_i686/gcc-4.2-final/i686-linux-uclibc/libgfortran'
/bin/sh /root/buildroot/toolchain_build_i686/gcc-4.2-20070110/libgfortran/mk-kinds-h.sh '/root/buildroot/toolchain_build_i686/gcc-4.2-final/./gcc/gfortran -B/root/buildroot/toolchain_build_i686/gcc-4.2-final/./gcc/ -B/root/buildroot/build_i686/staging_dir/i686-linux-uclibc/bin/ -B/root/buildroot/build_i686/staging_dir/i686-linux-uclibc/lib/ -isystem /root/buildroot/build_i686/staging_dir/i686-linux-uclibc/include -isystem /root/buildroot/build_i686/staging_dir/i686-linux-uclibc/sys-include -I . -Wall -fno-repack-arrays -fno-underscoring ' > kinds.h || rm kinds.h
/root/buildroot/toolchain_build_i686/gcc-4.2-20070110/libgfortran/mk-kinds-h.sh: Unknown type
grep '^#' < kinds.h > kinds.inc
/bin/sh: kinds.h: No such file or directory
make[3]: *** [kinds.inc] Error 1
make[3]: Leaving directory `/root/buildroot/toolchain_build_i686/gcc-4.2-final/i686-linux-uclibc/libgfortran'
make[2]: *** [all-target-libgfortran] Error 2
make[2]: Leaving directory `/root/buildroot/toolchain_build_i686/gcc-4.2-final'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/buildroot/toolchain_build_i686/gcc-4.2-final'
make: *** [/root/buildroot/toolchain_build_i686/gcc-4.2-final/.compiled] Error 2
[root@builder buildroot]#

Is this a problem with libgfortran?? I found this thread:
http://gcc.gnu.org/ml/gcc-bugs/2006-03/msg00484.html [^]
and it seems to indicates this is a problem with GMP and MPFR??
Is this so and how do I fix it?
Additional Information
Attached Files  buildroot_config [^] (10,759 bytes) 01-19-07 14:25
 uclibc_config [^] (4,771 bytes) 01-19-07 14:26

- Relationships

- Notes
(0001992)
bernhardf
01-18-07 14:10

I'm aware of this glitch. Give me some time to get my gmp/mpfr build-changes merged back. Meanwhile, please do these two things:

1)
Attach you toplevel .config and the uclibc.config you use, specify what compiler/binutils/gmp/mpfr version you have on your build-host.

2)
Use the most current daily snapshot (or a current checkout of the gcc-4_2-branch) of gcc-4.2 and let me know what *exact* version you were experiencing this error with.

As a quick stopper, read the thread at:
http://gcc.gnu.org/ml/fortran/2006-10/msg00136.html [^]
and eventually apply that dirty hack to bail out if the kinds were mis-detected.

Tracking down an exact setup on where we can reproduce this failure is very much appreciated!

Thanks and kind regards,
 
(0002009)
linux_junkie
01-19-07 14:37

My build-host is just the generic buildroot image from the website. I am trying to use this to build a more updated development system that I can boot too. The generic buildroot image is for the old 2.4 kernel. I have uploaded the bildroot .config file and the uClibc .config file.

The versions building are:

binutils-2.17.50.0.8.tar.bz2
uClibc-snapshot.tar.bz2 (0.9.29)
gcc-4.2-20070110.tar.bz2
gmp-4.2.1.tar.bz2
mpfr-2.2.1.tar.bz2
linux-2.6.19.2.tar.bz2
 
(0002043)
linux_junkie
01-24-07 20:22

Just wanted to note I was able to build sucessfully with out the fortran compiler checked off. This means the problem may be within the fortran package.
 
(0002529)
bernhardf
06-27-07 14:25

This was fixed quite some time ago.
 

- Issue History
Date Modified Username Field Change
01-17-07 22:32 linux_junkie New Issue
01-17-07 22:32 linux_junkie Status new => assigned
01-17-07 22:32 linux_junkie Assigned To  => uClibc
01-17-07 22:35 linux_junkie Issue Monitored: linux_junkie
01-18-07 14:10 bernhardf Note Added: 0001992
01-19-07 14:25 linux_junkie File Added: buildroot_config
01-19-07 14:26 linux_junkie File Added: uclibc_config
01-19-07 14:37 linux_junkie Note Added: 0002009
01-24-07 20:22 linux_junkie Note Added: 0002043
06-27-07 14:25 bernhardf Status assigned => closed
06-27-07 14:25 bernhardf Note Added: 0002529
06-27-07 14:25 bernhardf Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker