From: "Arsen Arsenović" <arsen@gentoo.org>
To: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Cc: Andreas Schwab <schwab@suse.de>,
Florian Weimer <fweimer@redhat.com>,
libc-alpha@sourceware.org
Subject: Re: [PATCH v3 2/4] libio: Remove the usage of __libc_IO_vtables
Date: Mon, 06 Mar 2023 19:47:30 +0100 [thread overview]
Message-ID: <87sfehlnq7.fsf@gentoo.org> (raw)
In-Reply-To: <35682595-a1c6-851c-c85f-7bcc13cb49ce@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 1794 bytes --]
Adhemerval Zanella Netto via Libc-alpha <libc-alpha@sourceware.org> writes:
> On 06/03/23 14:24, Adhemerval Zanella Netto wrote:
>>
>>
>> On 06/03/23 13:53, Andreas Schwab wrote:
>>> On Mär 06 2023, Adhemerval Zanella Netto wrote:
>>>
>>>> So could be an issue with my patch then? I did not added any new
>>>> dependency or rule with this patchset.
>>>
>>> The new dependency is gen-as-const-headers.
>>>
>>> I think it adds a cycle because libio-macros.h depends on
>>> $(common-objpfx)bits/stdio_lim.h, whereas other gen-as-const-headers
>>> don't depend on it.
>>
>> Right, do we really have to autogenerate stdio_lim.h? It seems that no
>> target currently requires to the overrides its values. It would be way
>> simpler if we can assume the sysdeps/posix/Makefile values instead.
>
> Alright, I could reproduce it and I am not sure how to fix it. This fix
> requires libio-macros.sym to correctly setup _IO_file_jumps and
> _IO_wfile_jumps alias symbol, and the libio/libio-macros.sym requires to
> know the size ofstruct _IO_jump_t (which in turn uses function pointer
> that uses FILE *).
>
> So libio-macros.sym does require stdio_lim.h in the end. Best solution
> I can think of is to just remove stdio_lim.h autogeneration, the only
> real system dependent definition is FILENAME_MAX, obtained from kernel
> limits.h. I think it should be feasible to just define is a 1024 for
> hurd and 4096 for Linux (these should not change in near future and
> change it might incur in some compatibility issues).
FWIW, I have an interest in making a new port (as time permits...), so
please also add an...
#else
# error "Update the port!"
... or such, if you choose to do that.
TIA, have a lovely night.
--
Arsen Arsenović
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 251 bytes --]
next prev parent reply other threads:[~2023-03-06 18:49 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-27 21:11 [PATCH v3 0/4] Remove --with-default-link option Adhemerval Zanella
2022-12-27 21:11 ` [PATCH v3 1/4] Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions Adhemerval Zanella
2023-03-04 17:37 ` Carlos O'Donell
2022-12-27 21:11 ` [PATCH v3 2/4] libio: Remove the usage of __libc_IO_vtables Adhemerval Zanella
2023-03-04 17:37 ` Carlos O'Donell
2023-03-06 13:43 ` Adhemerval Zanella Netto
2023-03-27 12:53 ` Carlos O'Donell
2023-03-06 14:58 ` Arsen Arsenović
2023-03-06 16:01 ` Adhemerval Zanella Netto
2023-03-06 16:31 ` Andreas Schwab
2023-03-06 16:39 ` Adhemerval Zanella Netto
2023-03-06 16:53 ` Andreas Schwab
2023-03-06 17:24 ` Adhemerval Zanella Netto
2023-03-06 18:17 ` Adhemerval Zanella Netto
2023-03-06 18:47 ` Arsen Arsenović [this message]
2023-03-06 18:53 ` Adhemerval Zanella Netto
2023-03-06 19:10 ` Arsen Arsenović
2023-03-06 19:20 ` Adhemerval Zanella Netto
2023-03-06 19:26 ` Arsen Arsenović
2023-03-06 16:23 ` Andreas Schwab
2022-12-27 21:11 ` [PATCH v3 3/4] Remove --with-default-link configure option Adhemerval Zanella
2023-03-04 17:39 ` Carlos O'Donell
2022-12-27 21:11 ` [PATCH v3 4/4] Remove set-hooks.h from generic includes Adhemerval Zanella
2023-03-04 17:42 ` Carlos O'Donell
2023-03-04 17:37 ` [PATCH v3 0/4] Remove --with-default-link option Carlos O'Donell
2023-03-06 13:43 ` Adhemerval Zanella Netto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfehlnq7.fsf@gentoo.org \
--to=arsen@gentoo.org \
--cc=adhemerval.zanella@linaro.org \
--cc=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=schwab@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).