[cfe-dev] Clang and -mcmodel=large

Andrea Orrù andreaorru91 at gmail.com
Sun Jun 7 10:23:03 PDT 2009


No, nothing from clang.


2009/6/7 Shantonu Sen <ssen at apple.com>

> Well, no. If you're getting:clang: warning: argument unused during
> compilation: '-mcmodel=large'
>
> Then it's an issue with clang not honoring the option and passing it
> through to the backend codegen layers.
>
> Shantonu
>
> Sent from my MacBook
>
> On Jun 7, 2009, at 10:13 AM, Andrea Orrù wrote:
>
> Do you confirm that? Do I have to put the same question in the llvm mailing
> list?
>
> 2009/6/7 Sebastian Redl <sebastian.redl at getdesigned.at>
>
>> Andrea Orrů wrote:
>> > Hello all,
>> >
>> > I'm developing a hobby kernel for x86-64 machines,
>> > and I put the kernel into the higher half.
>> >
>> > I'm trying to switch from GCC to Clang, but it seems
>> > that the latter doesn't support the -mcmodel=large
>> > option, which is required in order to put the kernel
>> > at the 0xFFFF800000000000 in virtual memory,
>> > as specified in my linker script:
>> > http://pastebin.com/f2f9e0112
>> >
>> > Any workarounds or plans for implementing that feature
>> > in the Clang compiler?
>> Does Clang proper even care about the memory model? I think this is more
>> an issue for LLVM core than Clang.
>>
>> Sebastian
>>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090607/a401ea2b/attachment.html>


More information about the cfe-dev mailing list