-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build failure on Ubuntu 22.04 LTS: _TIMEBITS=64 is allowed only with _FILE_OFFSET_BITS=64 #306
Comments
Hi, thanks for the report. I see the same thing on a few reports on Discord too. CI is green and my builds are passing, so I think it's a incompatibility with certain Linux distros. Should have a fix today. |
I have reproduced the issue on Ubuntu 22.04 LTS: issue:
glibc version:
I think it's an incompatibility with older host glibc (2.35 vs 2.38). Will check further for a fix. |
Build failure fixed: /usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64" 26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64" Fixes: #306 Signed-off-by: Christian Stewart <christian@aperture.us>
Submitted a e-mail to the mailing list: https://lists.buildroot.org/pipermail/buildroot/2024-February/685845.html The issue was we need to pass these flags to host gcc: Added Ubuntu 22.04 to the CI so we can catch this type of issue in future. Finding a fix at the moment. |
This seems to be fixed on master now. I also fixed the path to the dts for the bananapi m2. Please try now, thanks for the issue report.
then make again. |
Not sure where to begin. I am attempting to build for Beagle Black, Beagle AI, Banana M2 original, Banana M3, and Wandboard. the following is the tail end of each build output to ..
Three, Wandboard and Beagles end with same exact error!
The Bananas appear to have other issues.
HELP!!!
-Jim
==> b_ai.err <==
/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
| ^~~~~
make[4]: *** [Makefile:263: mksigname] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:260: mksiglist] Error 1
make[3]: *** [package/pkg-generic.mk:274: /home/janderso/Projects/SkiffOS/workspaces/beagle_ai/build/sudo-1.9.15p5/.stamp_configured] Error 2
make[2]: *** [Makefile:23: _all] Error 2
make[1]: *** [Makefile:64: compile] Error 2
make: *** [Makefile:2: compile] Error 2
==> banana2.err <==
.config:5817:warning: symbol value 'm' invalid for NF_TABLES_IPV6
.config:5960:warning: symbol value 'm' invalid for USB_FOTG210_HCD
.config:5961:warning: symbol value 'm' invalid for USB_FOTG210_UDC
.config:6084:warning: override: reassigning to symbol USB_SERIAL
make[5]: *** No rule to make target 'arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dtb'. Stop.
make[4]: *** [Makefile:1381: sun6i-a31s-sinovoip-bpi-m2.dtb] Error 2
make[3]: *** [package/pkg-generic.mk:283: /home/janderso/Projects/SkiffOS/workspaces/bananam2/build/linux-6.7.4/.stamp_built] Error 2
make[2]: *** [Makefile:23: _all] Error 2
make[1]: *** [Makefile:64: compile] Error 2
make: *** [Makefile:2: compile] Error 2
==> banana3.err <==
/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
| ^~~~~
make[4]: *** [Makefile:263: mksigname] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:260: mksiglist] Error 1
make[3]: *** [package/pkg-generic.mk:274: /home/janderso/Projects/SkiffOS/workspaces/bananam3/build/sudo-1.9.15p5/.stamp_configured] Error 2
make[2]: *** [Makefile:23: _all] Error 2
make[1]: *** [Makefile:64: compile] Error 2
make: *** [Makefile:2: compile] Error 2
==> bbeagle.err <==
/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
| ^~~~~
make[4]: *** [Makefile:263: mksigname] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:260: mksiglist] Error 1
make[3]: *** [package/pkg-generic.mk:274: /home/janderso/Projects/SkiffOS/workspaces/beagle_black/build/sudo-1.9.15p5/.stamp_configured] Error 2
make[2]: *** [Makefile:23: _all] Error 2
make[1]: *** [Makefile:64: compile] Error 2
make: *** [Makefile:2: compile] Error 2
==> wb.err <==
/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
| ^~~~~
make[4]: *** [Makefile:260: mksiglist] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:263: mksigname] Error 1
make[3]: *** [package/pkg-generic.mk:274: /home/janderso/Projects/SkiffOS/workspaces/wandboard/build/sudo-1.9.15p5/.stamp_configured] Error 2
make[2]: *** [Makefile:23: _all] Error 2
make[1]: *** [Makefile:64: compile] Error 2
make: *** [Makefile:2: compile] Error 2
The text was updated successfully, but these errors were encountered: