Ticket #45050

Deprecated ftime() used when cross-compiling

Date d'ouverture: 2022-07-07 09:04 Dernière mise à jour: 2022-07-26 20:19

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
1

Détails

OpenEmbedded build gives warnings about use of deprecate ftime() in timing.c.

timing.c falls back to using ftime, if gettimeofday() is not available. About detection of gettimeofday() config.log says:

configure:39692: checking for working gettimeofday
configure:39699: result: unknown: cross-compiling

Ticket History (3/6 Histories)

2022-07-07 09:04 Updated by: cazfi
  • New Ticket "Deprecated ftime() used when cross-compiling" created
2022-07-07 09:37 Updated by: cazfi
Commentaire

When the cross-compile part of the configure check was last touched, the commit message said it to be "Temporary fix". Commit date: "Date: Sun Nov 17 19:18:13 2002 +0000"

2022-07-07 09:56 Updated by: cazfi
  • Jalon Update from (Aucun) to 3.0.3 (atteints)
  • Composant Update from (Aucun) to Bootstrap
Commentaire

Making the check cached, and thus supporting cache variable for the user to set, seems to resolve the issue for OpenEmbedded for now.

Should do at least that before 3.0.3 (and even on S2_6).

2022-07-24 21:55 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
Commentaire

As already said, meant for S2_6 too.

2022-07-26 20:19 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion