Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131115234241.GU1685@port70.net>
Date: Sat, 16 Nov 2013 00:42:41 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: question float.h & powerpc

* James Gregurich <bayoubengal@....com> [2013-11-15 16:30:22 -0600]:
> After digging through llvm source code all day and finding
> 
>     if (getTriple().getOS() == llvm::Triple::FreeBSD ||
>         getTriple().getVendor() == llvm::Triple::ELLCC) {
>       LongDoubleWidth = LongDoubleAlign = 64;
>       LongDoubleFormat = &llvm::APFloat::IEEEdouble;
>     }
> 
> 
> I believe the answer to my question is to build my own llvm 3.4 rather than using Apple?s clang which is based on llvm 3.3 and probably doesn?t have this code in it.
> 

seems so, but this is ugly

almost surely there is some configuration method for llvm
and that should have been used to select this option (and
then have different config on freebsd and ellcc)

i think it's wrong of llvm and clang to try to know about
all the users and toolchains of their code and hard-wire
special cases for them (i've seen hacks like that for
emscripten in clang too)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.