[PATCH] missing newline in ld TARGET_SYSTEM_ROOT error path

Olaf Hering olh@suse.de
Mon Oct 31 20:58:00 GMT 2005


I got this error with current mainline. A newline is missing.

/home/olaf/toolchain/inst/gcc_main-bin_main/lib/gcc/powerpc64-linux/4.1.0/../../../../powerpc64-linux/bin/ld: this linker was not configured to use sysrootscollect2: ld returned 1 exit status
make[3]: *** [arch/ppc64/kernel/vdso64/vdso64.so] Error 1

 src/ld/ldmain.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: binutils-mainline/src/ld/ldmain.c
===================================================================
--- binutils-mainline.orig/src/ld/ldmain.c
+++ binutils-mainline/src/ld/ldmain.c
@@ -212,7 +212,7 @@ main (int argc, char **argv)
     {
       if (*TARGET_SYSTEM_ROOT == 0)
 	{
-	  einfo ("%P%F: this linker was not configured to use sysroots");
+	  einfo ("%P%F: this linker was not configured to use sysroots\n");
 	  ld_sysroot = "";
 	}
       else
-- 
short story of a lazy sysadmin:
 alias appserv=wotan



More information about the Binutils mailing list