Subject: Re: pkgsrc/editors/emacs and mipse{b,l}
To: Christoph Badura <bad@ora.de>
From: Simon Burge <simonb@netbsd.org>
List: tech-pkg
Date: 06/16/1999 10:22:04
Christoph Badura wrote:
> While looking into some old PR about emacs not building on pmax,
> I noticed that the pkg doesn't know about mipseb/mipsel.
>
> As a stop-gap measure, I've made it use the src/m/pmax.h file in
> the mipsel case.
>
> Could someone more knowlegeable then I look into this and DTRT?
The short story: emacs is broken at the moment.
Your change allows emacs to get past the configure stage (hooray!),
but now it fails when linking temacs. It's doing:
cc ... -o temacs pre-crt0.o /usr/lib/crt0.o ...
and then failing because /usr/lib/crt0.o ends up on the link line twice
and results in multiply defined symbols like the dl*() functions. From
what I can tell, 1.4 pkgsrc also had this, but that worked. I'm about
to build the 1.4 version again and see what happens. If I leave the
/usr/lib/crt0.o of the "cc" command line it works, but I don't know if
that breaks other ports... More news when I figure out more.
There's still a problem (since before 1.4) on the pmax that if you start
emacs with your display set, it dumps core. It works however in tty
mode. Even better, gdb dumps core when you try to run it on emacs (even
without a core file on the command line).
Simon.