[Bug libctf/28545] cross compile incorrectly using host libraries in install relink

2021-11-06 Thread bugs.sourceware at johnthomson dot fastmail.com.au
https://sourceware.org/bugzilla/show_bug.cgi?id=28545 --- Comment #8 from John --- ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecd

[Bug libctf/28545] cross compile incorrectly using host libraries in install relink

2021-11-06 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28545 --- Comment #7 from Andreas Schwab --- Please show the full configure command line. -- You are receiving this mail because: You are on the CC list for the bug.

Re: [PATCH] fix prototype and definition of yyerror in *.y

2021-11-06 Thread Alan Modra
On Fri, Nov 05, 2021 at 11:41:38AM +0100, Andrea Monaco wrote: > I think in both cases the problem is the following lines in the > generated files: > > #if !defined yyerror && !defined YYERROR_IS_DECLARED > void yyerror (const char *msg); > #endif Yes, bison-3.8 generates these prototypes.

[Bug libctf/28545] cross compile incorrectly using host libraries in install relink

2021-11-06 Thread bugs.sourceware at johnthomson dot fastmail.com.au
https://sourceware.org/bugzilla/show_bug.cgi?id=28545 --- Comment #6 from John --- I used the OpenWrt package defaults. These look like: 80 TARGET_CFLAGS += $(FPIC) -Wno-unused-value 81 82 TARGET_LDFLAGS += $(if $(INTL_FULL),-lintl) 83 84 CONFIGURE_ARGS += \ 85 --host=$(REA

[Bug libctf/28545] cross compile incorrectly using host libraries in install relink

2021-11-06 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28545 --- Comment #5 from Andreas Schwab --- How did you configure? -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libctf/27360] libctf.so.0: undefined symbol: bsearch_r

2021-11-06 Thread bugs.sourceware at johnthomson dot fastmail.com.au
https://sourceware.org/bugzilla/show_bug.cgi?id=27360 John changed: What|Removed |Added CC||bugs.sourceware@johnthomson

[Bug libctf/28545] cross compile incorrectly using host libraries in install relink

2021-11-06 Thread bugs.sourceware at johnthomson dot fastmail.com.au
https://sourceware.org/bugzilla/show_bug.cgi?id=28545 --- Comment #4 from John --- this libtool relink libctf.so is the only place in the whole build log where -L/usr/lib is used -- You are receiving this mail because: You are on the CC list for the bug.