Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2024 12:43:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277945] devel/gettext-runtime: fails build WITH_LTO=yes
Message-ID:  <bug-277945-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277945

            Bug ID: 277945
           Summary: devel/gettext-runtime: fails build WITH_LTO=3Dyes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tijl@FreeBSD.org
          Reporter: nimaje+fbz@bureaucracy.de
             Flags: maintainer-feedback?(tijl@FreeBSD.org)
          Assignee: tijl@FreeBSD.org

Created attachment 249470
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249470&action=
=3Dedit
devel/gettext-runtime: mark LTO_UNSAFE

devel/gettext-runtime fails to build if WITH_LTO=3Dyes is set.

relevant part of the log:
--- libintl.la ---
/bin/sh ./libtool  --tag=3DCC    --mode=3Dlink cc -fvisibility=3Dhidden -O2=
 -pipe=20
-DLIBICONV_PLUG -flto=3Dthin -fstack-protector-strong -fno-strict-aliasing=
=20=20=20=20=20=20
-no-undefined  -export-symbols-regex
'^([^_]|_[^l]|_l[^i]|_li[^b]|_lib[^i]|_libi[^n]|_libin[^t]|_libint[^l]|_lib=
intl[^_]).*'
 -version-info 12:0:4  -rpath /usr/local/lib -flto=3Dthin
-fstack-protector-strong -o libintl.la  bindtextdom.lo dcgettext.lo dgettex=
t.lo
gettext.lo  finddomain.lo hash-string.lo loadmsgcat.lo localealias.lo=20
textdomain.lo l10nflist.lo explodename.lo dcigettext.lo  dcngettext.lo
dngettext.lo ngettext.lo plural.lo plural-exp.lo  langprefs.lo log.lo print=
f.lo
setlocale.lo version.lo osdep.lo  intl-compat.lo gnulib-lib/libgnu.la=20=20
libtool: link: /usr/bin/nm  .libs/bindtextdom.o .libs/dcgettext.o
.libs/dgettext.o .libs/gettext.o .libs/finddomain.o .libs/hash-string.o
.libs/loadmsgcat.o .libs/localealias.o .libs/textdomain.o .libs/l10nflist.o
.libs/explodename.o .libs/dcigettext.o .libs/dcngettext.o .libs/dngettext.o
.libs/ngettext.o .libs/plural.o .libs/plural-exp.o .libs/langprefs.o
.libs/log.o .libs/printf.o .libs/setlocale.o .libs/version.o .libs/osdep.o
.libs/intl-compat.o   gnulib-lib/.libs/libgnu.a |  | /usr/bin/sed 's/.* //'=
 |
sort | uniq > .libs/libintl.exp
eval: 1: Syntax error: "|" unexpected
*** [libintl.la] Error code 2

Until that is fixed it should be marked as LTO_UNSAFE

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277945-7788>