LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-10-2021, 05:23 AM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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.
 
Old 09-10-2021, 03:41 PM   #2
nobodino
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
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
-current reverted to bison3.7.6
Problem solved.
 
Old 09-11-2021, 07:21 AM   #3
nobodino
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
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
good news:
bison-3.8.1 solved the regression with glibc-2.33 build.
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression in rsync since the glibc 2.32 update (including the 2.33 update too) tadgy Slackware 2 02-23-2021 07:53 PM
[SOLVED] Slackware 14.2 glibc-2.23 vs Slackware Current glibc-2.24 and the Current 4.4.17 Kernel kjhambrick Slackware 10 08-13-2016 01:00 AM
[SOLVED] i915 regression in -current NicePics13 Slackware 12 09-13-2015 05:36 PM
xorg regression in -current mina86 Slackware 5 03-06-2013 10:48 PM
RH 9.0 glibc rpm says it needs glibc-common, but glibc-common is installed whitshade Red Hat 2 04-28-2007 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration