On Tue, Feb 22, 2022 at 1:41 PM Martin Leduc <[email protected]> wrote:
>
> LOLLL, Yes, I'Ve figure this AFTER having sent the email...
>
>
>
> Sorry, I'm not a Yocto Guru 😉
>
>
>
> I currently try this with core-image-minimal
>
> TARGET_CFLAGS:append = " -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 "
>
> TARGET_CXXFLAGS:append = " -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 "
>
>
>
> We will see.
>

the apps has to be able to use 64bit time_t as well, so it won't be
just these flags but perhaps more
that you will need

>
>
> Thanks
>
>
>
> Martin Leduc
>
> T : (418) 856-6896
>
> [email protected]
>
>
>
>
>
> -----Message d'origine-----
> De : Richard Purdie <[email protected]>
> Envoyé : 22 février 2022 16:28
> À : Martin Leduc <[email protected]>; Ross Burton 
> <[email protected]>
> Cc : Phil Blundell <[email protected]>; 
> [email protected]
> Objet : [EXTERNAL] Re: [Openembedded-architecture] ARM32 Millenium Bug
>
>
>
> CAUTION: This email originated from outside of Luminator Technology Group. Do 
> not click links or open attachments unless you recognize the sender and know 
> the content is safe.
>
>
>
> On Tue, 2022-02-22 at 18:30 +0000, Martin Leduc wrote:
>
> > Hi Ross, after doing a grep to fine the defines, I've found that the 
> > defines refer to __USE_TIME_BITS64, instead of _TIME_BITS=64.
>
> >
>
> > The two defined flags appear to do not work "CFLAGS:append = " 
> > -D_TIME_BITS=64  -D_USE_TIME_BITS64"
>
> >
>
> > At this time only CFLAGS:append = " -D_USE_TIME_BITS64 " compile 
> > successfully.
>
>
>
> I think you want TARGET_CFLAGS:append
>
>
>
> Cheers,
>
>
>
> Richard
>
>
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1490): 
https://lists.openembedded.org/g/openembedded-architecture/message/1490
Mute This Topic: https://lists.openembedded.org/mt/89315888/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-architecture/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to