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

Compilation failure with glibc 2.28 #1

Open
andrewshyichuk opened this issue Dec 18, 2018 · 1 comment
Open

Compilation failure with glibc 2.28 #1

andrewshyichuk opened this issue Dec 18, 2018 · 1 comment

Comments

@andrewshyichuk
Copy link

I am trying to compile m4 as a part of Global Arrays, http://hpc.pnl.gov/globalarrays/.
The autogen.sh script downloads and compiles m4-1.4.17. I tried 1.4.18 - the same problem, namely:

While compiling freadahead.c, the error shows up:

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."
^~~~~
I have it in Manjaro, updated 17.12.2018, kernel 4.14, x86_64, AMD Ryzen, but it looks like the problem is related to glibc 2.28, e.g.:
https://bugzilla.redhat.com/show_bug.cgi?id=1595702
sifive/freedom-u-sdk#74

@cirosantilli
Copy link

Fixed by buildroot/buildroot@c48f8a6 which went into 2018.08. Found with git log master -- package/m4.

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