Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2023 09:59:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272566] lang/gcc14-devel: Build error due to unused variable entry_count
Message-ID:  <bug-272566-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 272566
           Summary: lang/gcc14-devel: Build error due to unused variable
                    entry_count
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: salvadore@freebsd.org
          Reporter: jfc@mit.edu
          Assignee: salvadore@freebsd.org
             Flags: maintainer-feedback?(salvadore@freebsd.org)

After 571e27fe859a20d6f6a7fbf31576c3ce5f8d7be7 poudriere fails to build
lang/gcc14-devel with the compile error

/wrkdirs/usr/ports/lang/gcc14-devel/work/.build/./prev-gcc/xg++
-B/wrkdirs/usr/ports/lang/gcc14-devel/work/.build/./prev-gcc/
-B/usr/local/x86_64-portbld-freebsd13.2/bin/ -nostdinc++
-B/wrkdirs/usr/ports/lang/gcc14-devel/work/.build/prev-x86_64-portbld-freeb=
sd13.2/libstdc++-v3/src/.libs
-B/wrkdirs/usr/ports/lang/gcc14-devel/work/.build/prev-x86_64-portbld-freeb=
sd13.2/libstdc++-v3/libsupc++/.libs
 -isystem
/wrkdirs/usr/ports/lang/gcc14-devel/work/.build/prev-x86_64-portbld-freebsd=
13.2/libstdc++-v3/include/x86_64-portbld-freebsd13.2
 -isystem
/wrkdirs/usr/ports/lang/gcc14-devel/work/.build/prev-x86_64-portbld-freebsd=
13.2/libstdc++-v3/include
 -isystem
/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/libstdc++-v3/libsu=
pc++
-L/wrkdirs/usr/ports/lang/gcc14-devel/work/.build/prev-x86_64-portbld-freeb=
sd13.2/libstdc++-v3/src/.libs
-L/wrkdirs/usr/ports/lang/gcc14-devel/work/.build/prev-x86_64-portbld-freeb=
sd13.2/libstdc++-v3/libsupc++/.libs
 -fPIC -c   -g -O2 -fno-checking -gtoggle -DIN_GCC    -fno-exceptions -fno-=
rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Wconditionally-supported
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -fPIC -I. -I.
-I/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc
-I/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc/.
-I/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc/../include=20
-I/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc/../libcpp/in=
clude
-I/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc/../libcody
-I/usr/local/include=20
-I/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc/../libdecnum=
ber
-I/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc/../libdecnum=
ber/dpd
-I../libdecnumber
-I/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc/../libbacktr=
ace=20
-DLIBICONV_PLUG -o tree-ssa-loop-ivcanon.o -MT tree-ssa-loop-ivcanon.o -MMD=
 -MP
-MF ./.deps/tree-ssa-loop-ivcanon.TPo
/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc/tree-ssa-loop-=
ivcanon.cc
[...interleaved parallel build output removed...]
/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc/tree-ssa-loop-=
ivcanon.cc:
In function 'bool try_peel_loop(loop*, edge, tree, bool, long int)':
/wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20230716/gcc/tree-ssa-loop-=
ivcanon.cc:1170:17:
error: variable 'entry_count' set but not used
[-Werror=3Dunused-but-set-variable]
 1170 |   profile_count entry_count =3D profile_count::zero ();
      |                 ^~~~~~~~~~~


I am running 13.2-STABLE on amd64.

--=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-272566-7788>