Subject: Re: Another problem with stack protector changes
To: None <current-users@netbsd.org>
From: David Coppa <dcoppa@gmail.com>
List: current-users
Date: 11/09/2006 16:12:35
------=_Part_51045_18078581.1163085155248
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Building for i386 is ok, so the problem seems to be cobalt (or !i386)
related.

cubo# ls -al /usr/obj/lib/libssp/fgets_chk.o ; file
/usr/obj/lib/libssp/fgets_chk.o
-rw-r--r-- 1 root wheel 936 Nov 9 16:35 /usr/obj/lib/libssp/fgets_chk.o
/usr/obj/lib/libssp/fgets_chk.o: ELF 32-bit LSB relocatable, Intel 80386,
version 1 (SYSV), not stripped

Ciao,
David

On 11/9/06, David Coppa <dcoppa@gmail.com> wrote:

In file included from /usr/src/lib/libssp/fgets_chk.c:42:
> /usr/src/lib/libssp/ssp/stdio.h:52: error: format string argument not a
> string type
>
> *** Failed target: fgets_chk.o
> *** Failed command: /usr/src/cobalt_tools/bin/mipsel--netbsd-gcc -O2 -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign
> -compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual
> -Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99 -Werror -I/usr
> /src/lib/libssp/ssp -nostdinc -isystem /usr/qube/usr/include -c
> /usr/src/lib/libssp/fgets_chk.c -o fgets_chk.o
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/src/lib/libssp

------=_Part_51045_18078581.1163085155248
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br>Building for i386 is ok, so the problem seems&nbsp;to&nbsp;be cobalt (or !i386) related.<br><br>cubo# ls -al /usr/obj/lib/libssp/fgets_chk.o ; file /usr/obj/lib/libssp/fgets_chk.o<br>-rw-r--r--  1 root  wheel  936 Nov  9 16:35 /usr/obj/lib/libssp/fgets_chk.o
<br>/usr/obj/lib/libssp/fgets_chk.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped<br><br>Ciao,<br>David<br><br><div><span class="gmail_quote">On 11/9/06, <b class="gmail_sendername">David Coppa</b>
 &lt;<a href="mailto:dcoppa@gmail.com">dcoppa@gmail.com</a>&gt; wrote:<br></span><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
In file included from /usr/src/lib/libssp/fgets_chk.c:42:<br>/usr/src/lib/libssp/ssp/stdio.h:52: error: format string argument not a string type<br><br>*** Failed target:  fgets_chk.o<br>*** Failed command: /usr/src/cobalt_tools/bin/mipsel--netbsd-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign 
<br>-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99 -Werror -I/usr<br>/src/lib/libssp/ssp -nostdinc -isystem /usr/qube/usr/include -c /usr/src/lib/libssp/fgets_chk.c -o fgets_chk.o 
<br>*** Error code 1<br><br>Stop.<br>nbmake: stopped in /usr/src/lib/libssp</blockquote><div><br>&nbsp;</div><br></div><br>

------=_Part_51045_18078581.1163085155248--