NetBSD Problem Report #43878

From khorben@defora.org  Tue Sep 14 16:54:16 2010
Return-Path: <khorben@defora.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 2FD2563B8FB
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 14 Sep 2010 16:54:16 +0000 (UTC)
Message-Id: <20100914165410.DEE56120@kwarx.defora.lan>
Date: Tue, 14 Sep 2010 18:54:10 +0200 (CEST)
From: Pierre Pronchery <khorben@defora.org>
To: gnats-bugs@gnats.NetBSD.org
Subject: The zaurus port doesn't build with USE_SSP=yes
X-Send-Pr-Version: 3.95

>Number:         43878
>Category:       port-zaurus
>Synopsis:       NetBSD/zaurus fails to build with USE_SSP=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-zaurus-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 14 16:55:00 +0000 2010
>Closed-Date:    Thu Nov 03 01:02:08 +0000 2011
>Last-Modified:  Thu Nov 03 01:02:08 +0000 2011
>Originator:     Pierre Pronchery
>Release:        NetBSD 5.1_RC3
>Organization:

>Environment:
System: NetBSD kwarx.defora.lan 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #3: Wed Aug 25 13:01:56 CEST 2010 khorben@kwarx.defora.lan:/home/amd64/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Cross-building sets for NetBSD/zaurus 5.1_RC4 on my amd64 5.1_RC3 host,
with USE_SSP=yes set, fails the following way:

=== BEGIN PASTE ===
dependall ===> gnu/usr.bin/binutils/gas
     create  amd/nfs_start.d
     create  gas/app.d
     create  gas/as.d
[...]
    compile  amd/am_ops.o
    compile  amd/amd.o
    compile  amd/amfs_auto.o
    compile  amd/amfs_generic.o
    compile  amd/amfs_direct.o
    compile  amd/amfs_error.o
    compile  amd/amfs_host.o
cc1: warnings being treated as errors
/usr/src/gnu/usr.bin/binutils/gas/../../../dist/binutils/gas/config/tc-arm.c: In function 'start_unwind_section':
/usr/src/gnu/usr.bin/binutils/gas/../../../dist/binutils/gas/config/tc-arm.c:13721: warning: not protecting local variables: variable length buffer
    compile  amd/amfs_link.o
--- tc-arm.o ---
*** [tc-arm.o] Error code 1
1 error
nbmake: stopped in /usr/src/gnu/usr.bin/binutils/gas
=== END PASTE ===

It builds fine once the USE_SSP option removed from my /etc/mk.conf
file.

>How-To-Repeat:
# echo USE_SSP=yes >> /etc/mk.conf
# cd /usr/src
# ./build.sh -m zaurus tools distribution sets

>Fix:
I haven't investigated myself, sorry.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->pending-pullups
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Fri, 21 Oct 2011 21:01:04 +0000
State-Changed-Why:
i sent a patch to fix this in netbsd-5 (not a problem in -current.)


State-Changed-From-To: pending-pullups->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Thu, 03 Nov 2011 01:02:08 +0000
State-Changed-Why:
pullups are done, this should be ok now.  thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.