Hello everybody,

Anthony has been doing some work using newer hosts, and attempting to fix whatever problems arise when building the cross-tools.

Up front is m4. Since newer hosts are starting to use glibc 2.16 or later, using fgets rather than gets.
<BEGIN PATCH>
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
@@ -125,7 +125,6 @@
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
 #undef gets
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");

 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@
<END PATCH>
We can add that patch to cross-tools m4 for now for any host. M4 should build for hosts using glibc before 2.16. Still testing. Any other issues people have ran across? Used to, hosts using gcc 4.7 or later, and trying to build our version of gcc 4.6.3 would bomb at building gengtypes.c However our current branch updates patch for gcc 4.6.3 takes it to a revision where the issues with that and some other bugs were backported and fixed.
That's all I can think of for now.

Sincerely,
William Harrington
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to