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

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

            Bug ID: 277946
           Summary: devel/pkgconf: 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: bapt@FreeBSD.org
          Reporter: nimaje+fbz@bureaucracy.de
          Assignee: bapt@FreeBSD.org
             Flags: maintainer-feedback?(bapt@FreeBSD.org)
 Attachment #249471 maintainer-approval?(bapt@FreeBSD.org)
             Flags:

Created attachment 249471
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249471&action=
=3Dedit
devel/pkgconf: mark LTO_UNSAFE

devel/pkgconf fails to build if WITH_LTO=3Dyes is set.

relevant part of the log:
--- libpkgconf.la ---
/bin/sh ./libtool  --tag=3DCC    --mode=3Dlink cc
-DPERSONALITY_PATH=3D\"/usr/local/share/pkgconfig/personality.d:/usr/local/=
etc/pkgconfig/personality.d\"
-DPKG_DEFAULT_PATH=3D\"/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig:=
/usr/local/share/pkgconfig\"
-DSYSTEM_INCLUDEDIR=3D\"/usr/include\" -DSYSTEM_LIBDIR=3D\"/usr/lib\" -O2 -=
pipe=20
-flto=3Dthin -fstack-protector-strong -fno-strict-aliasing  -Wall -Wextra
-Wformat=3D2 -std=3Dgnu99  -no-undefined -version-info 4:0:0 -export-symbol=
s-regex
'^pkgconf_' -flto=3Dthin -fstack-protector-strong -o libpkgconf.la -rpath
/usr/local/lib libpkgconf/audit.lo libpkgconf/cache.lo  libpkgconf/client.lo
libpkgconf/pkg.lo libpkgconf/bsdstubs.lo  libpkgconf/fragment.lo
libpkgconf/argvsplit.lo  libpkgconf/fileio.lo libpkgconf/tuple.lo=20
libpkgconf/dependency.lo libpkgconf/queue.lo  libpkgconf/path.lo
libpkgconf/personality.lo  libpkgconf/parser.lo=20=20
libtool: link: /usr/bin/nm  libpkgconf/.libs/audit.o libpkgconf/.libs/cache=
.o
libpkgconf/.libs/client.o libpkgconf/.libs/pkg.o libpkgconf/.libs/bsdstubs.o
libpkgconf/.libs/fragment.o libpkgconf/.libs/argvsplit.o
libpkgconf/.libs/fileio.o libpkgconf/.libs/tuple.o
libpkgconf/.libs/dependency.o libpkgconf/.libs/queue.o libpkgconf/.libs/pat=
h.o
libpkgconf/.libs/personality.o libpkgconf/.libs/parser.o   |  | /usr/bin/sed
's/.* //' | sort | uniq > .libs/libpkgconf.exp
eval: 1: Syntax error: "|" unexpected
*** [libpkgconf.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-277946-7788>