bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple definition of error_print_progname with gcc 10.1.0


From: Bruno Haible
Subject: Re: Multiple definition of error_print_progname with gcc 10.1.0
Date: Thu, 16 Dec 2021 18:23:16 +0100

Vignesh Drv wrote:
> CC=x86_64-xx-linux-gnu-gcc
> CXX=x86_64-xx-linux-gnu-g++
> CFLAGS="-Os -g -pipe"
> CXXFLAGS="-Os -g -pipe"

A build with these settings (and with gcc 10.1.0) works fine for me,
and after "make install", produces binaries without 'error_print_progname'
symbol:
$ nm --dynamic /tmp/dest/usr/local/lib/libgettextpo.so | grep 
error_print_progname
$ nm /tmp/dest/usr/local/lib/libgettextpo.a | grep error_print_progname

Please give complete steps to reproduce the issue, starting with a
"tar xf .../gettext-0.21.tar.gz" command. If you don't reproduce the issue,
it was likely caused by outdated files in your build tree. If you still
reproduce it, please, along with the steps to reproduce, also send the log
files from
  $ ./configure 2>&1 | tee log1
  $ make 2>&1 | tee log2

And the 'ld --version' will also be useful.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]