Bug 1477

Summary: Installing gfortran on PowerPC
Product: buildroot Reporter: Clement Foucher <foucher>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: critical CC: buildroot
Priority: P5    
Version: 2010.02   
Target Milestone: 2010.05   
Hardware: PC   
OS: Linux   
Host: powerpc-unknown-linux-uclibc Target: powerpc-unknown-linux-uclibc
Build: x86_64-pc-linux-gnu
Attachments: Buildroot gcc building log

Description Clement Foucher 2010-04-01 14:21:30 UTC
Created attachment 1447 [details]
Buildroot gcc building log

I had a buildroot install that worked fine, but I needed to add fortran support.
But adding fortran support broke the building process on this message:

checking whether the GNU Fortran compiler is working... no
configure: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching /home/foucher/These/toolchain/buildroot-2010.02/output/build/gcc-4.3.4-target/powerpc-linux-uclibc/libgfortran/config.log
make[2]: *** [configure-target-libgfortran] Erreur 1
make[2]: quittant le répertoire « /home/foucher/These/toolchain/buildroot-2010.02/output/build/gcc-4.3.4-target »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/foucher/These/toolchain/buildroot-2010.02/output/build/gcc-4.3.4-target »
make: *** [/home/foucher/Bureau/These/toolchain/buildroot-2010.02/output/build/gcc-4.3.4-target/.compiled] Erreur 2


After checking the log (attached), I see that the error was simply that gfortran was not found:

/home/foucher/Bureau/These/toolchain/buildroot-2010.02/output/toolchain/gcc-4.3.4/libgfortran/configure: line 11234: powerpc-linux-uclibc-gfortran: command not found

... It seems that buildroot searches for the powerpc version of gfortran and does not find it... But a few line before trying using it, there is the following lines, like if the program were found:

configure:10198: checking for powerpc-linux-uclibc-gfortran
configure:10224: result: powerpc-linux-uclibc-gfortran 



Any idea that could help?


Regards,

         Clément
Comment 1 Gustavo Zacarias 2011-02-02 17:03:45 UTC
Fixed in the toolchain rework for 2011.02.
Reopen if you still have problems with the latest snapshot.