Subject: Build error on Perl5
To: NetBSD Mac68k Port <port-mac68k@netbsd.org>
From: Reinier Jonker <rjgjonker@xs4all.nl>
List: port-mac68k
Date: 03/31/2002 20:37:07
Hi!

Upon trying to build Perl 5 (neccesary for Squid and MySQL), I get the 
following error:
/usr/lib/libgcc.a(__main.o)(.data+0x0): undefined reference to 
`__DTOR_LIST__'

Something similar happens with Apache, and probably other packages. What 
could cause this?
I'm running a NetBSD-current build from last week.

Additionally, I have a question about compiler optimiztions. In my 
/etc/mk.conf, I have:
COPTS+=-O3 -fomit-frame-pointer
CFLAGS+=-m68040
M68040=YES
ACCEPTABLE_LICENSES+=non-commercial-use pine-license
USA_RESIDENT=NO

Unfortunately, every package compiles with -O2. Why is my mk.conf 
ignored (or overruled)?

--
Reinier Jonker