任务单 #45050

Deprecated ftime() used when cross-compiling

开放日期: 2022-07-07 09:04 最后更新: 2022-07-26 20:19

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
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

任务单历史 (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
  • 里程碑 Update from (无) to 3.0.3 (关闭)
  • 组件 Update from (无) 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 (无) to cazfi
  • 处理结果 Update from to Accepted
评论

As already said, meant for S2_6 too.

2022-07-26 20:19 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名