Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
09-10-2021, 05:23 AM
#1
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
regression on -current with glibc
glibc doesn't build anymore on -current:
-----------------------
/tmp/glibc-2.33/build-glibc-2.33/intl/plural.c:69:25: error: static declaration of '__gettextlex' follows non-static declaration
69 | #define yylex __gettextlex
| ^~~~~~~~~~~~
plural.y:57:12: note: in expansion of macro 'yylex'
57 | static int yylex (YYSTYPE *lval, struct parse_args *arg);
| ^~~~~
/tmp/glibc-2.33/build-glibc-2.33/intl/plural.c:203:5: note: previous declaration of '__gettextlex' with type 'int(YYSTYPE *, struct parse_args *)'
203 | int __gettextlex (YYSTYPE *yylvalp, struct parse_args *arg);
| ^~~~~~~~~~~~
/tmp/glibc-2.33/build-glibc-2.33/intl/plural.c:70:25: error: static declaration of '__gettexterror' follows non-static declaration
70 | #define yyerror __gettexterror
| ^~~~~~~~~~~~~~
plural.y:58:13: note: in expansion of macro 'yyerror'
58 | static void yyerror (struct parse_args *arg, const char *str);
| ^~~~~~~
gcc dcgettext.c -c -std=gnu11 -fgnu89-inline -g -O3 -fPIC -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math -fno-stack-protector -Wstrict-prototypes -Wold-style-definition -fmath-errno -fPIC -ftls-model=initial-exec -I../include -I/tmp/glibc-2.33/build-glibc-2.33/intl -I/tmp/glibc-2.33/build-glibc-2.33 -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86/include -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /tools/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include -isystem /tools/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /tmp/glibc-2.33/build-glibc-2.33/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -D'LOCALEDIR="/usr/share/locale"' -D'LOCALE_ALIAS_PATH="/usr/share/locale"' -o /tmp/glibc-2.33/build-glibc-2.33/intl/dcgettext.os -MD -MP -MF /tmp/glibc-2.33/build-glibc-2.33/intl/dcgettext.os.dt -MT /tmp/glibc-2.33/build-glibc-2.33/intl/dcgettext.os
/tmp/glibc-2.33/build-glibc-2.33/intl/plural.c:200:6: note: previous declaration of '__gettexterror' with type 'void(struct parse_args *, const char *)'
200 | void __gettexterror (struct parse_args *arg, const char *msg);
| ^~~~~~~~~~~~~~
make[2]: *** [../o-iterator.mk:9: /tmp/glibc-2.33/build-glibc-2.33/intl/plural.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/glibc-2.33/intl'
make[1]: *** [Makefile:479: intl/subdir_lib] Error 2
make[1]: Leaving directory '/tmp/glibc-2.33'
make: *** [Makefile:9: all] Error 2
---------------------------------
culprit: new bison-3.8
Last edited by nobodino; 09-10-2021 at 07:02 AM .
09-10-2021, 03:41 PM
#2
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Original Poster
-current reverted to bison3.7.6
Problem solved.
09-11-2021, 07:21 AM
#3
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Original Poster
good news:
bison-3.8.1 solved the regression with glibc-2.33 build.
3 members found this post helpful.
All times are GMT -5. The time now is 02:05 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News