public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* glibc testsuite RELRO error
@ 2024-04-16 15:23 Joel GUITTET
  2024-04-17 12:18 ` Adhemerval Zanella Netto
  0 siblings, 1 reply; 4+ messages in thread
From: Joel GUITTET @ 2024-04-16 15:23 UTC (permalink / raw)
  To: libc-help

Hello,

I'm executing the glibc testsuite and I get an error on "glibc-testsuite.elf/tst-relro-libc": "_IO_wstrn_jumps of size 1113704 at 0x54 is not in RELRO range [0x10dc8c, 0x10f000]"

It seems first the start and size values are crossed, but by the way, what means this error ?

Thanks for any inputs!

Regards,
Joel





 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: glibc testsuite RELRO error
  2024-04-16 15:23 glibc testsuite RELRO error Joel GUITTET
@ 2024-04-17 12:18 ` Adhemerval Zanella Netto
  2024-04-17 13:26   ` Joel GUITTET
  0 siblings, 1 reply; 4+ messages in thread
From: Adhemerval Zanella Netto @ 2024-04-17 12:18 UTC (permalink / raw)
  To: Joel GUITTET, libc-help



On 16/04/24 12:23, Joel GUITTET via Libc-help wrote:
> Hello,
> 
> I'm executing the glibc testsuite and I get an error on "glibc-testsuite.elf/tst-relro-libc": "_IO_wstrn_jumps of size 1113704 at 0x54 is not in RELRO range [0x10dc8c, 0x10f000]"
> 
> It seems first the start and size values are crossed, but by the way, what means this error ?
> 
> Thanks for any inputs!
> 
> Regards,
> Joel

Which is the glibc version, gcc, and binutils you have used? This symbol was
removed by 118816de3383ff12769349784689141355cc787c (glibc 2.37), but I do
recall something similar on old releases.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: glibc testsuite RELRO error
  2024-04-17 12:18 ` Adhemerval Zanella Netto
@ 2024-04-17 13:26   ` Joel GUITTET
  2024-04-17 16:01     ` Adhemerval Zanella Netto
  0 siblings, 1 reply; 4+ messages in thread
From: Joel GUITTET @ 2024-04-17 13:26 UTC (permalink / raw)
  To: Adhemerval Zanella Netto, libc-help

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

Sure, this is glibc 2.35, gcc 11.4 and binutils 2.38.

________________________________
De : Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Envoyé : mercredi 17 avril 2024 14h18
À : Joel GUITTET <jguittet.opensource@witekio.com>; libc-help@sourceware.org <libc-help@sourceware.org>
Objet : Re: glibc testsuite RELRO error

[Vous ne recevez pas souvent de courriers de adhemerval.zanella@linaro.org. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]

On 16/04/24 12:23, Joel GUITTET via Libc-help wrote:
> Hello,
>
> I'm executing the glibc testsuite and I get an error on "glibc-testsuite.elf/tst-relro-libc": "_IO_wstrn_jumps of size 1113704 at 0x54 is not in RELRO range [0x10dc8c, 0x10f000]"
>
> It seems first the start and size values are crossed, but by the way, what means this error ?
>
> Thanks for any inputs!
>
> Regards,
> Joel

Which is the glibc version, gcc, and binutils you have used? This symbol was
removed by 118816de3383ff12769349784689141355cc787c (glibc 2.37), but I do
recall something similar on old releases.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: glibc testsuite RELRO error
  2024-04-17 13:26   ` Joel GUITTET
@ 2024-04-17 16:01     ` Adhemerval Zanella Netto
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella Netto @ 2024-04-17 16:01 UTC (permalink / raw)
  To: Joel GUITTET, libc-help

It uses to fail with --with-default-link=yes, since on 2.35 the stdio
vtables was places on relro segment explicit by an asm macro 
(__libc_IO_vtables) and an processed linker script.  We removed it this
limitation on recent version (91fc5b99907655bc04cf23247b5fe0ae0ca6e9eb).

On 17/04/24 10:26, Joel GUITTET wrote:
> Sure, this is glibc 2.35, gcc 11.4 and binutils 2.38.
> 
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> *De :* Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
> *Envoyé :* mercredi 17 avril 2024 14h18
> *À :* Joel GUITTET <jguittet.opensource@witekio.com>; libc-help@sourceware.org <libc-help@sourceware.org>
> *Objet :* Re: glibc testsuite RELRO error
>  
> [Vous ne recevez pas souvent de courriers de adhemerval.zanella@linaro.org. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification <https://aka.ms/LearnAboutSenderIdentification> ]
> 
> On 16/04/24 12:23, Joel GUITTET via Libc-help wrote:
>> Hello,
>>
>> I'm executing the glibc testsuite and I get an error on "glibc-testsuite.elf/tst-relro-libc": "_IO_wstrn_jumps of size 1113704 at 0x54 is not in RELRO range [0x10dc8c, 0x10f000]"
>>
>> It seems first the start and size values are crossed, but by the way, what means this error ?
>>
>> Thanks for any inputs!
>>
>> Regards,
>> Joel
> 
> Which is the glibc version, gcc, and binutils you have used? This symbol was
> removed by 118816de3383ff12769349784689141355cc787c (glibc 2.37), but I do
> recall something similar on old releases.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-17 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-16 15:23 glibc testsuite RELRO error Joel GUITTET
2024-04-17 12:18 ` Adhemerval Zanella Netto
2024-04-17 13:26   ` Joel GUITTET
2024-04-17 16:01     ` Adhemerval Zanella Netto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).