Subject: install/36434: cvs build fail on i386 since libssp regress test is deactivated
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <glechapelain@yahoo.fr>
List: netbsd-bugs
Date: 06/03/2007 20:15:00
>Number: 36434
>Category: install
>Synopsis: cvs build fail on i386 since libssp regress test is deactivated
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 03 20:15:00 +0000 2007
>Originator: germain
>Release: cvs ?
>Organization:
pseudo
>Environment:
cvs of now
>Description:
build.sh doesn't finish on i386, and probably other systems.
since libspp regress test has been deactivated, regress/libc/fgets doesn't find libssp :
====8<====8<====
# link fgets/fgets
/usr/home/german/work/NetBSD/src/obj/tooldir.FreeBSD-6.2-STABLE-i386/bin/i386--netbsdelf-gcc -Wl,-nostdlib -fstac
k-protector-all -Wstack-protector -L. -o fgets -Wl,-rpath-link,/usr/home/german/work/NetBSD/src/obj/destdir.i386
/lib:/usr/home/german/work/NetBSD/src/obj/destdir.i386/usr/lib -L/usr/home/german/work/NetBSD/src/obj/destdir.i386
/lib -B/usr/home/german/work/NetBSD/src/obj/destdir.i386/usr/lib/ -B/usr/home/german/work/NetBSD/src/obj/destdir.i
386/usr/lib/ fgets.o -L/usr/home/german/work/NetBSD/src/obj/destdir.i386/usr/lib -L/usr/home/german/work/NetBSD
/src/obj/destdir.i386/usr/lib
/usr/home/german/work/NetBSD/src/obj/tooldir.FreeBSD-6.2-STABLE-i386/lib/gcc/i386--netbsdelf/4.1.2/../../../../i386
--netbsdelf/bin/ld: cannot find -lssp
collect2: ld returned 1 exit status
*** Failed target: fgets
*** Failed command: /usr/home/german/work/NetBSD/src/obj/tooldir.FreeBSD-6.2-STABLE-i386/bin/i386--netbsdelf-gcc -W
l,-nostdlib -fstack-protector-all -Wstack-protector -L. -o fgets -Wl,-rpath-link,/usr/home/german/work/NetBSD/src/o
bj/destdir.i386/lib:/usr/home/german/work/NetBSD/src/obj/destdir.i386/usr/lib -L/usr/home/german/work/NetBSD/src/ob
j/destdir.i386/lib -B/usr/home/german/work/NetBSD/src/obj/destdir.i386/usr/lib/ -B/usr/home/german/work/NetBSD/src/
obj/destdir.i386/usr/lib/ fgets.o -L/usr/home/german/work/NetBSD/src/obj/destdir.i386/usr/lib -L/usr/home/german/wo
rk/NetBSD/src/obj/destdir.i386/usr/lib
*** Error code 1
Stop.
nbmake: stopped in /usr/home/german/work/NetBSD/src/regress/lib/libc/ssp/fgets
====>8====>8====
>How-To-Repeat:
./build.sh -m i386 release
>Fix:
Index: regress/lib/libc/Makefile
===================================================================
RCS file: /cvsroot/src/regress/lib/libc/Makefile,v
retrieving revision 1.54
diff -u -r1.54 Makefile
--- regress/lib/libc/Makefile 2 Jun 2007 11:09:22 -0000 1.54
+++ regress/lib/libc/Makefile 3 Jun 2007 15:46:53 -0000
@@ -9,7 +9,7 @@
.include <bsd.sys.mk>
.if (${HAS_SSP} == "yes")
-SUBDIR+= ssp
+#SUBDIR+= ssp
.endif
.if (${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m68000")
SUBDIR+= ieeefp