[MacPorts] #24194: gcc42, gcc43, gcc44 won't compile with non-default build_arch

MacPorts noreply at macports.org
Fri Mar 26 09:25:17 PDT 2010


#24194: gcc42, gcc43, gcc44 won't compile with non-default build_arch
-------------------------------+--------------------------------------------
 Reporter:  gvibe06@…          |       Owner:  mww@…            
     Type:  defect             |      Status:  new              
 Priority:  Normal             |   Milestone:                   
Component:  ports              |     Version:  1.8.2            
 Keywords:                     |        Port:  gcc44 gcc43 gcc42
-------------------------------+--------------------------------------------

Comment(by gvibe06@…):

 Ok, So I went home and slept, then came back to work to finish these
 compiles. Below is what lipo reports as the Arch for both GMP and MPFR.

 {{{
 $ lipo -info /opt/local/lib/libmpfr.dylib
 Non-fat file: /opt/local/lib/libmpfr.dylib is architecture: i386

 $ lipo -info /opt/local/lib/libgmp.dylib
 Non-fat file: /opt/local/lib/libgmp.dylib is architecture: i386
 }}}

 And yet, once again ... Configure Error:


 {{{
 checking how to compare bootstrapped objects... cmp --ignore-initial=16
 $$f1 $$f2
 checking for correct version of gmp.h... yes
 checking for correct version of mpfr.h... no
 configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
 Try the --with-gmp and/or --with-mpfr options to specify their locations.
 Copies of these libraries' source code can be found at their respective
 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
 See also http://gcc.gnu.org/install/prerequisites.html for additional
 info.
 If you obtained GMP and/or MPFR from a vendor distribution package, make
 sure that you have installed both the libraries and the header files.
 They may be located in separate packages.
 }}}

 Same annoying error in config.log:


 {{{
 ld: warning: in /opt/local/lib/libmpfr.dylib, file is not of required
 architecture
   "_mpfr_subnormalize", referenced from:
   "_mpfr_erfc", referenced from:
   "_mpfr_atan2", referenced from:
   "_mpfr_init", referenced from:
 |     #include <mpfr.h>
 |     mpfr_t n;
 |     mpfr_t x;
 |     mpfr_init (n);
 |     mpfr_init (x);
 |     mpfr_atan2 (n, n, x, GMP_RNDN);
 |     mpfr_erfc (n, x, GMP_RNDN);
 |     mpfr_subnormalize (x, t, GMP_RNDN);
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/24194#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list