[MacPorts] #40177: cross-compilers are missing the fortran compiler
#40177: cross-compilers are missing the fortran compiler ----------------------------+-------------------------------- Reporter: sam.halliday@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: crossgcc ----------------------------+-------------------------------- cross-compilers such as x86_64-elf-gcc are missing the fortran compiler https://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/cros... It would be good to offer this as a variant (or as default). As a workaround, I'd really appreciate it if gfortran cross-compiler instructions were available. -- Ticket URL: <https://trac.macports.org/ticket/40177> MacPorts <http://www.macports.org/> Ports system for OS X
#40177: cross-compilers are missing the fortran compiler -----------------------------+-------------------------------- Reporter: sam.halliday@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: crossgcc | -----------------------------+-------------------------------- Comment (by sam.halliday@…): when I add fortran to the list of languages when compiling x86_64 or i386 elf-gcc, I get errors such as :info:build checking whether symbol versioning is supported... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. :info:build checking for string.h... (cached) yes :info:build checking for strings.h... (cached) yes :info:build checking sys/ipc.h usability... make[1]: *** [configure- target-libgfortran] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build no -- Ticket URL: <https://trac.macports.org/ticket/40177#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40177: cross-compilers are missing the fortran compiler -----------------------------+-------------------------------- Reporter: sam.halliday@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: crossgcc | -----------------------------+-------------------------------- Comment (by sam.halliday@…): I'm not so sure if this is a fortran problem... I disabled parallel builds and now this is what I (repeatedly) get checking whether symbol versioning is supported... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[1]: *** [configure-target-libgfortran] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_x86_64 -elf-gcc/x86_64-elf-gcc/work/build' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_x86_64 -elf-gcc/x86_64-elf-gcc/work/build' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_x86_64 -elf-gcc/x86_64-elf-gcc/work/build" && /usr/bin/make -w all Exit code: 2 Error: org.macports.build for port x86_64-elf-gcc returned: command execution failed Warning: targets not executed for x86_64-elf-gcc: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port x86_64-elf-gcc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_x86_64 -elf-gcc/x86_64-elf-gcc/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port x86_64-elf-gcc failed Some googling (http://gcc.gnu.org/ml/gcc-help/2012-07/msg00018.html) suggests that this is because I don't have the glibc for the target platform. How do I get past this? -- Ticket URL: <https://trac.macports.org/ticket/40177#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40177: cross-compilers are missing the fortran compiler -----------------------------+-------------------------------- Reporter: sam.halliday@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: crossgcc | -----------------------------+-------------------------------- Comment (by sam.halliday@…): I just build gfortran for x86_64-elf :-) -- Ticket URL: <https://trac.macports.org/ticket/40177#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts