Re: IBM Workpad z50 dmesg collection

David Brownlee <[email protected]>
Newsgroups gmane.os.netbsd.ports.mips.devel
Message-ID <CAGN_6pbUKV5651JqQA+VqzbaPYYnoysubZoGqbQgAaQ6mVUZPg@mail.gmail.com>
On Mon, 24 May 2021 at 17:58, Christos Zoulas <[email protected]> wrote:
>
> In article <CAGN_6paiVwEAfJ8KpP0iOocvQYjgficdV6aMnVD7Ohaw1S-1mw@mail.gmail.com>,
> David Brownlee  <[email protected]> wrote:
> >On Mon, 24 May 2021 at 00:08, matthew green <[email protected]> wrote:
> >>
> >> > Annoyingly 2016-0{1,2,3,4,5,6,7,8}-01 do not
> >> > directly build for me (I suspect its due to an earlier version of gcc,
> >> > the upgrade of which could also be the cause of the issue).
> >>
> >> try setting HOST_CFLAGS="-O -fcommon".
> >
> >Turned out to be a __gnu_inline__ issue with libc_name_p - the
> >following got me a build of current from 2016-01-01
> >
> >Is there a page on the wiki or similar where notes like this are collected?
>
> Isn't it easier to make them static __inline?

Quite possibly, but my goal here was to checkout arbitrary date tags
from old current versions, so a simple patch to adjust the two
libc_name_p referencing sections in each cfns.h file to have the same
__gnu_inline__ seemed like the least invasive option :)

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.