NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-zaurus/43878: The zaurus port doesn't build with USE_SSP=yes



>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 14 16:55:00 +0000 2010
>Originator:     Pierre Pronchery
>Release:        NetBSD 5.1_RC3
>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@localhost:/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.



Home | Main Index | Thread Index | Old Index