RFA/RFC: Adding support for gmp and mpfr sources in the build tree

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Mon Nov 27 14:59:00 GMT 2006

>> Would you please take care of testing this patch, including both your 
>> changes to the GMP testing mechanism and the required changes to the 
>> templates?
> Your patch worked perfectly after I made one small change:


>> +host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
>> +            host="none-${host_vendor}-${host_os}";
>> +        target="none-${host_vendor}-${host_os}"; };
> [...] I ended up with this slightly strange error message:
>   ../gmp/.libs/libgmp.so: undefined reference to `__gmpn_add_nc'
>   ../gmp/.libs/libgmp.so: undefined reference to `__gmpn_sub_nc'
>   collect2: ld returned 1 exit status
>   make[1]: *** [cc1-dummy] Error 1

Please report this to the GMP mailing list (giving the "adjusted" host 
triplet) because it is a bug.  The hunk, unfortunately, is needed for 
i386-darwin support.


More information about the Gcc-patches mailing list