Ticket #45050

Deprecated ftime() used when cross-compiling

오픈 날짜: 2022-07-07 09:04 마지막 업데이트: 2022-07-26 20:19

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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 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
댓글 올리기

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
  • Milestone Update from (None) to 3.0.3 (closed)
  • Component Update from (None) to Bootstrap
댓글 올리기

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
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
댓글 올리기

As already said, meant for S2_6 too.

2022-07-26 20:19 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login