Port-arm archive

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

Undefined symbol "environ" (symnum = 9)



Current from last night fails to run any files compiled on ARM/OMAP target:

# uname -a
NetBSD  5.99.01 NetBSD 5.99.01 (TISDP2420) #1: Thu Nov  6 15:59:19 EET 2008  mim
# cc --version
cc (GCC) 4.1.3 20080704 prerelease (NetBSD nb1 20080202)
Copyright (C) 2006 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.
# ld --version
GNU ld version 2.16.1
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
# cat ./main.c
#include <stdio.h>
int main(void) {
printf("hello!\n");
return 0;
}
# cc -Wall ./main.c
# ./a.out
./a.out: Undefined symbol "environ" (symnum = 9)

I noticed similar errors on friday, but wasn't sure if they came from my
own changes like a binutils upgrade to 2.18.50.

Which changes might be causing this?

I'm checking older snapshots, but that takes some time...

-Mikko


Home | Main Index | Thread Index | Old Index