On 2/12/2025 12:42 PM, ASSI via Cygwin wrote:
Ken Brown via Cygwin writes:
On 2/11/2025 4:03 PM, Corinna Vinschen via Cygwin wrote:
Ken, check the source or configury of your package. It looks weird that
this function should be called architecture-independently.
Thanks for the suggestion. It
On Feb 11 23:52, Dimitry Andric via Cygwin wrote:
> Yes, that is the RISCV or SH specific method. On x86_64, you access it via
> the fs register, i.e. gcc (on Linux at least :) compiles:
>
> void *p = __builtin_thread_pointer();
>
> to something like:
>
>
Ken Brown via Cygwin writes:
> On 2/11/2025 4:03 PM, Corinna Vinschen via Cygwin wrote:
>> Ken, check the source or configury of your package. It looks weird that
>> this function should be called architecture-independently.
> Thanks for the suggestion. It's actually not called
> architecture-ind
via Cygwin wrote:
Does Cygwin support __builtin_thread_pointer? I'm guessing not, because
I'm getting a link error (undefined reference to
`__builtin_thread_pointer') when I try to build some software that uses
it. Or is there something that would have to be added to the link com
On Feb 11 16:45, Ken Brown via Cygwin wrote:
> On 2/11/2025 4:03 PM, Corinna Vinschen via Cygwin wrote:
> > Ken, check the source or configury of your package. It looks weird that
> > this function should be called architecture-independently.
> Thanks for the suggestion. It's actually not called
On 2025-02-11 13:58, Dimitry Andric wrote:
On 11 Feb 2025, at 21:45, Brian Inglis via Cygwin wrote:
On 2025-02-11 12:41, Dimitry Andric via Cygwin wrote:
On 11 Feb 2025, at 20:26, Ken Brown via Cygwin wrote:
Does Cygwin support __builtin_thread_pointer? I'm guessing not, because
I'm
own via Cygwin wrote:
>>>>> Does Cygwin support __builtin_thread_pointer? I'm guessing not, because
>>>>> I'm getting a link error (undefined reference to
>>>>> `__builtin_thread_pointer') when I try to build some software that uses
>>>
On 2025-02-11 13:58, Dimitry Andric wrote:
On 11 Feb 2025, at 21:45, Brian Inglis via Cygwin wrote:
On 2025-02-11 12:41, Dimitry Andric via Cygwin wrote:
On 11 Feb 2025, at 20:26, Ken Brown via Cygwin wrote:
Does Cygwin support __builtin_thread_pointer? I'm guessing not, because
I'm
On 2/11/2025 4:03 PM, Corinna Vinschen via Cygwin wrote:
Ken, check the source or configury of your package. It looks weird that
this function should be called architecture-independently.
Thanks for the suggestion. It's actually not called
architecture-independently, but the code was convolute
On Feb 11 20:41, Dimitry Andric via Cygwin wrote:
> It's a gcc builtin function, not something implemented in an external
> library. Therefore, there is no linker option that can fix this.
>
> Also, as far as I can see from gcc's documentation,
> __builtin_thread_pointe
oid f(void)
{
void *p = __builtin_thread_pointer();
}
$ gcc -c test-builtin-thread-pointer.c
test-builtin-thread-pointer.c: In function ‘f’:
test-builtin-thread-pointer.c:3:13: warning: implicit declaration of function
‘__builtin_thread_pointer’; did you mean ‘__builtin_extend_pointer’?
[-Wimplici
On 2025-02-11 12:41, Dimitry Andric via Cygwin wrote:
On 11 Feb 2025, at 20:26, Ken Brown via Cygwin wrote:
Does Cygwin support __builtin_thread_pointer? I'm guessing not, because
I'm getting a link error (undefined reference to
`__builtin_thread_pointer') when I try to buil
It's a gcc builtin function, not something implemented in an external library.
Therefore, there is no linker option that can fix this.
Also, as far as I can see from gcc's documentation, __builtin_thread_pointer()
is only supported for the RISCV and SH architectures. Then ag
Does Cygwin support __builtin_thread_pointer? I'm guessing not, because
I'm getting a link error (undefined reference to
`__builtin_thread_pointer') when I try to build some software that uses
it. Or is there something that would have to be added to the link
command line? T
14 matches
Mail list logo