Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jun 2007 16:22:16 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        amd64@freebsd.org, FreeBSD Tinderbox <tinderbox@freebsd.org>, current@freebsd.org
Subject:   Re: [head tinderbox] failure on amd64/amd64
Message-ID:  <46634D28.8060503@u.washington.edu>
In-Reply-To: <46633EBF.4080209@FreeBSD.org>
References:  <20070603170828.E45BB73068@freebsd-current.sentex.ca> <4662FFA5.4000602@u.washington.edu> <46633EBF.4080209@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote:
> Garrett Cooper wrote:
>   
>>    Is there a reason why this line of code is invalid for amd64 (from
>> /usr/src/contrib/bind9/lib/isc/x86_64/include/isc/atomic.h:25-28)?
>>
>> #ifdef ISC_PLATFORM_USEGCCASM
>>
>> /* We share the gcc-version with x86_32 */
>> #error "impossible case.  check build configuration"
>>
>>    After doing some searching, all that that macro does is use says the
>> OS can use gcc asm instructions.
>>     
>
> Yeah, I looked at that header and asked myself the same question. I'm
> going to follow up with the ISC folks on that issue.
>
> Meanwhile I finally got access to an amd64 machine that I could build
> the port on (our reference system is literally FUBAR), and it looks
> like things are in better shape than I feared. Ruslan's suggestion of
> using the x86_32 atomic.h header that I already committed turns out to
> be how the port does it, and the other generated headers look good, so
> the build should be fine now. If anyone could confirm that with
> sources that include v. 1.18 of src/lib/bind/config.mk the world
> actually builds, I'd appreciate it. If you could do some rudimentary
> testing of the results, I'd be eternally grateful. :)
>
> FWIW, I relied on the fact that the bind94 port builds just fine on
> our platforms to convince me that things would be fine for the base.
> While that seems to have worked for most of the cases, it turns out to
> have not been a good assumption to make. I apologize for the
> inconvenience that I created.
>
>
> Mea culpa,
>
> Doug
Ok, I'll give it a shot now Doug.

Thanks!
-Garrett



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