Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 1998 02:34:36 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        eivind@yes.no (Eivind Eklund)
Cc:        rnordier@nordier.com, current@FreeBSD.ORG
Subject:   Re: Replacing gcc as the system compiler (was Re: Fix for undefined "__error" and discussion of shared object versioning)
Message-ID:  <199805280034.CAA17560@ceia.nordier.com>
In-Reply-To: <19980527225647.36082@follo.net> from Eivind Eklund at "May 27, 98 10:56:47 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Eivind Eklund wrote:

> On Wed, May 27, 1998 at 10:04:11PM +0200, Robert Nordier wrote:
> > You may need -ltdf during linking.
> 
> What does this contain?

Pretty much just 64-bit integer support.

> 
> Have you looked closely at XANDF?  I'm seeing two real hurdles (beyond
> inertia) in using this as our main compiler: The use of asm() for some
> macros in the kernel, and the use of linker sets.  What do you think
> our chance of working around these are?

I think we can find reasonable ways over the technical hurdles.
Possibly, though, we need to commit to supporting TenDRA as a secondary
compiler initially, with a change 6-12 months down the line, if things
work out.

>From a few tests here, it is starting to look as though the trans386
optimization needs additional work.  I know that some of the code I
haved looked at was highly-optimized, so the slow times may be fairly
readily correctable.

> 
> > There is currently an unresolved bug in i386 long long support: avoid
> > casting to long long.
> 
> There is also what looks like a bug in handling of NULL - it doesn't
> allow the use of ((void *)0) as NULL for function pointers.
> 
> I may remember the C standard incorrectly (I haven't looked it up),
> but I think it is required to.

There is something strange there (even the error message looks wrong):

    Can't convert function pointer 'void *' to non-function pointer
    'int ( * ) ( void )'.

-- 
Robert Nordier

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805280034.CAA17560>