This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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:

Whee!


+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.


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]