Current-Users archive

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

Re: 'build.sh release' broken for evbarm-eb and -el



I am (cross-)building on a -current amd64 system.

# /build/netbsd-local/tools/x86_64/evbarm-eb/bin/armeb--netbsdelf-gcc --version
armeb--netbsdelf-gcc (NetBSD nb1 20120916) 4.5.4
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

#


On Sun, 25 Nov 2012, Matt Thomas wrote:


On Nov 25, 2012, at 7:26 AM, Paul Goyette wrote:

From sources as of 2012-11-25 at 04:54:05 UTC...

A 'build.sh release' for evbarm-eb fails with the following error:

cc1: warnings being treated as errors
In file included from ./machine/lock.h:3:0,
                from 
/build/netbsd-local/src/lib/librump/../../sys/rump/../sys/simplelock.h:80,
                from ./arm/arm32/vmparam.h:48,
                from ./machine/vmparam.h:37,
                from 
/build/netbsd-local/src/lib/librump/../../sys/rump/../uvm/uvm_param.h:76,
                from 
/build/netbsd-local/src/lib/librump/../../sys/rump/../sys/param.h:141,
                from 
/build/netbsd-local/src/lib/librump/../../sys/rump/../lib/libkern/arc4random.c:54:
./arm/lock.h:78:1: error: type qualifiers ignored on function return type
*** [arc4random.pico] Error code 1

Are you building with gcc4.1 or gcc4.5?  I'm guessing the former.

-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index