Skip to content
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

Buildroot fails to build in Debian 10 #28

Open
mik1234mc opened this issue Jun 18, 2020 · 2 comments
Open

Buildroot fails to build in Debian 10 #28

mik1234mc opened this issue Jun 18, 2020 · 2 comments

Comments

@mik1234mc
Copy link

Hi,

after I migrated to Debian 10, the Enclustra Buildroot fails to build with the following errors:

make[4]: Entering directory '..../enclustra/bsp-xilinx/sources/buildroot-rootfs/output/build/host-m4-1.4.18/lib' CC freadahead.o CC fseeko.o freadahead.c: In function 'freadahead': freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." ^~~~~ fseeko.c: In function 'rpl_fseeko': fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." ^~~~~

The same issue is reported also here https://www.reddit.com/r/archlinux/comments/97gsb1/glibc_update_breaks_buildroot/ with a statement it is resolved in Buildroot 2018.08.

Can you update your repos with newer source versions? Or, at least can you provide some hints/guide how can I use newer Buildroot versions with your boards/flow?

Thanks, Michael

@tholzsche
Copy link
Contributor

Hi,

I am sorry this is a known issue with current linux distributions and glibc >= 2.8. There are several fixes available, have a look at:
buildroot/buildroot@c48f8a6
coreutils/gnulib@4af4a4a#diff-5bcce8ce55246264586c4aed2a45ff89

This will be fixed in the next release. Currently I recommend to use Ubuntu 18.04 LTS, 16.04 LTS or 14.04 LTS: https://releases.ubuntu.com

Regards
Till

@mik1234mc
Copy link
Author

Thank you for the answer, I will manually patch the buildroot. Do you have an idea, when do you plan to update Enclustra xilinx-linux, xilinx-u-boot and buildroot forks to more up-to-date versions?

Thanks,
Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants