forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
[ARCH] x86_64This bug impacts ARCH=x86_64This bug impacts ARCH=x86_64[BUG] linuxA bug that should be fixed in the mainline kernel.A bug that should be fixed in the mainline kernel.[BUG] llvm (main)A bug in an unreleased version of LLVM (this label is appropriate for regressions)A bug in an unreleased version of LLVM (this label is appropriate for regressions)[CONFIG] allmodconfigIssue affects allmodconfig on certain architecturesIssue affects allmodconfig on certain architectures[FIXED][LINUX] 5.16This bug was fixed in Linux 5.16This bug was fixed in Linux 5.16
Milestone
Description
After llvm/llvm-project@a8083d4, I see the following errors with x86_64 allmodconfig
../drivers/power/reset/ltc2952-poweroff.c:164:28: error: expression requires 'long double' type support, but target 'x86_64-unknown-linux-gnu' does not support it
data->wde_interval = 300L * 1E6L;
^
../drivers/power/reset/ltc2952-poweroff.c:164:21: error: expression requires 'long double' type support, but target 'x86_64-unknown-linux-gnu' does not support it
data->wde_interval = 300L * 1E6L;
^
../drivers/power/reset/ltc2952-poweroff.c:165:41: error: expression requires 'long double' type support, but target 'x86_64-unknown-linux-gnu' does not support it
data->trigger_delay = ktime_set(2, 500L*1E6L);
^
3 errors generated.
../drivers/usb/dwc2/hcd_queue.c:1744:25: error: expression requires 'long double' type support, but target 'x86_64-unknown-linux-gnu' does not support it
delay = ktime_set(0, DWC2_RETRY_WAIT_DELAY);
^
../drivers/usb/dwc2/hcd_queue.c:62:34: note: expanded from macro 'DWC2_RETRY_WAIT_DELAY'
#define DWC2_RETRY_WAIT_DELAY (1 * 1E6L)
^
1 error generated.
It seems that x87 registers are turned off in arch/x86/Makefile
with the -mno-80387
flag so I suppose this error makes sense. Should we just turn these constants into integers (perhaps substituting the 1E6L
with USEC_PER_SEC
)?
Metadata
Metadata
Assignees
Labels
[ARCH] x86_64This bug impacts ARCH=x86_64This bug impacts ARCH=x86_64[BUG] linuxA bug that should be fixed in the mainline kernel.A bug that should be fixed in the mainline kernel.[BUG] llvm (main)A bug in an unreleased version of LLVM (this label is appropriate for regressions)A bug in an unreleased version of LLVM (this label is appropriate for regressions)[CONFIG] allmodconfigIssue affects allmodconfig on certain architecturesIssue affects allmodconfig on certain architectures[FIXED][LINUX] 5.16This bug was fixed in Linux 5.16This bug was fixed in Linux 5.16