DragonFly BSD
DragonFly users List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: gcc34 -- To thunk or not to thunk?


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Tue, 02 Nov 2004 07:05:49 -0800

Andrew Atrens wrote:
walt wrote:


Since the mozilla-devel port won't compile with gcc2 lately I've
been trying to use gcc34... Well, mozilla doesn't know about DFly yet...

A workaround I use is to add one line to the top of /usr/include/osreldate.h

#define __FreeBSD__ 4

and then in any mozilla file using a __FreeBSD* macro I add a

#include <osreldate.h>

Okay, I did this and the effect was exactly the same as Andreas's patch: compilation was successful but the program gets stuck in an infinite loop of SIGSEGV's.

I'm assuming that the reason for this behavior is the changed ABI for
c++ would require me to recompile all my other related libraries with gcc34. I remember doing this when gcc3 was first ported to DFly
but I finally changed back to gcc2 because so many ports would not
compile.




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