Ticket #45050

Deprecated ftime() used when cross-compiling

Eröffnet am: 2022-07-07 09:04 Letztes Update: 2022-07-26 20:19

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

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-Verlauf (3/6 Historien)

2022-07-07 09:04 Aktualisiert von: cazfi
  • New Ticket "Deprecated ftime() used when cross-compiling" created
2022-07-07 09:37 Aktualisiert von: cazfi
Kommentar

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 Aktualisiert von: cazfi
  • Meilenstein Update from (Keine) to 3.0.3 (closed)
  • Komponente Update from (Keine) to Bootstrap
Kommentar

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 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
Kommentar

As already said, meant for S2_6 too.

2022-07-26 20:19 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden