Bug 1477 - Installing gfortran on PowerPC
Summary: Installing gfortran on PowerPC
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2010.02
Hardware: PC Linux
: P5 critical
Target Milestone: 2010.05
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-01 14:21 UTC by Clement Foucher
Modified: 2011-02-02 17:03 UTC (History)
1 user (show)

See Also:
Host: powerpc-unknown-linux-uclibc
Target: powerpc-unknown-linux-uclibc
Build: x86_64-pc-linux-gnu


Attachments
Buildroot gcc building log (56.67 KB, application/octet-stream)
2010-04-01 14:21 UTC, Clement Foucher
Details

Note You need to log in before you can comment on or make changes to this bug.
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.