[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60338] compilation error: undefined reference to "rpl_free"
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #60338] compilation error: undefined reference to "rpl_free" |
Date: |
Tue, 17 Aug 2021 16:48:33 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #8, bug #60338 (project groff):
Are you using an old version of "gnulib".
My ChangeLog in groff/gnulib is from 15th August 2021.
I update my gnulib repository before I use this bootstrap script:
set -efu
branch=$(git status | sed -n 's/^On branch // p')
echo Is on branch $branch | tee bootstrap.output.$branch
./bootstrap --no-git --gnulib-srcdir=$GNULIB_SRCDIR \
--bootstrap-sync 2>&1 | tee -a bootstrap.output.$branch
####
I also use "-DGNULIB_NAMESPACE=gnulib"
##
You do not have "src/libs/libgroff/libgroff_a-fprintf.o"
There is no "rpl_..." in master's version of "build/src/include/config.h"
####
I am using "autoconf 2.71" now in my configure.
Differences between configuring are in an attached file:
####
From configure:
Compiler : /usr/bin/gcc -Wall -Wextra -Wformat=2
-Wstringop-overflow=4 -Wshadow=global -Wredundant-decls -Wunused
-Wunused-parameter -fsanitize=signed-integer-overflow
-fsanitize-undefined-trap-on-error -fstack-protector-strong -fno-common
-fstack-clash-protection -ftrapv -funsigned-char
-fvar-tracking-assignments -g -O -Wmissing-prototypes
-Wold-style-definition -Wstrict-prototypes -Wold-style-declaration
-D_FORTIFY_SOURCE=2
####
From Makefile:
CPPFLAGS = -D_FORTIFY_SOURCE=2
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -Wall -Wextra -Wformat=2 -Wstringop-overflow=4
-Wshadow=global -Wredundant-decls -Wunused -Wunused-parameter
-fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error
-fstack-protector-strong -fno-common -fstack-clash-protection -ftrapv
-funsigned-char -fvar-tracking-assignments -g -O -fcheck-new
-std=c++17 -Wredundant-decls -DGNULIB_NAMESPACE=gnulib
CYGPATH_W = echo
####
I have already reported bugs after an update of gnulib.
It is not enough to just update gnulib in master before a release.
bug #60338
bug #60339
bug #60855
Check if your "groff" and "troff" contains "rpl_fprintf".
See also bug #60035 and bug #59276 (both closed).
(file #51794)
_______________________________________________________
Additional Item Attachment:
File name: bootstap.diff Size:5 KB
<https://file.savannah.gnu.org/file/bootstap.diff?file_id=51794>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60338>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/