From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 480BC385742D; Fri, 30 Apr 2021 18:39:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 480BC385742D From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyB0YXJnZXQvMTAwMzYxXSBOZXc6IGdjYy0xMSBmb3IgbXNw?= =?UTF-8?B?NDMwLWVsZiBmYWlscyB0byBidWlsZDogc3JjL2MrKzE3L2Zsb2F0aW5nX3Rv?= =?UTF-8?B?X2NoYXJzLmNjOjEwNzogZDJmaXhlZF9mdWxsX3RhYmxlLmg6MTI4MzoyMzog?= =?UTF-8?B?ZXJyb3I6IHNpemUgb2YgYXJyYXkg4oCYUE9XMTBfU1BMSVRfMuKAmSBleGNl?= =?UTF-8?B?ZWRzIG1heGltdW0gb2JqZWN0IHNpemUg4oCYMzI3NjfigJk=?= Date: Fri, 30 Apr 2021 18:39:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2021 18:39:06 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100361 Bug ID: 100361 Summary: gcc-11 for msp430-elf fails to build: src/c++17/floating_to_chars.cc:107: d2fixed_full_table.h:1283:23: error: size of array =E2=80=98POW10_SPLIT_2=E2=80=99 exceeds maximum object = size =E2=80=9832767=E2=80=99 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- gcc-10.3.0 was able to build: LANG=3DC msp430-elf-gcc -v Using built-in specs. COLLECT_GCC=3D/usr/bin/msp430-elf-gcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/msp430-elf/10.3.0/lto-wrapper Target: msp430-elf Configured with: /tmp/portage-tmpdir/portage/cross-msp430-elf/gcc-10.3.0/work/gcc-10.3.0/con= figure --host=3Dx86_64-pc-linux-gnu --target=3Dmsp430-elf --build=3Dx86_64-pc-linu= x-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/msp430-elf/gcc-bin/10.3= .0 --includedir=3D/usr/lib/gcc/msp430-elf/10.3.0/include --datadir=3D/usr/share/gcc-data/msp430-elf/10.3.0 --mandir=3D/usr/share/gcc-data/msp430-elf/10.3.0/man --infodir=3D/usr/share/gcc-data/msp430-elf/10.3.0/info --with-gxx-include-dir=3D/usr/lib/gcc/msp430-elf/10.3.0/include/g++-v10 --with-python-dir=3D/share/gcc-data/msp430-elf/10.3.0/python --enable-languages=3Dc,c++ --enable-obsolete --enable-secureplt --disable-w= error --with-system-zlib --enable-nls --without-included-gettext --enable-checking=3Drelease --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 10.3.0 p1' --disable-esp --enable-libstdcxx-time --enable-poison-system-directories --disable-libstdcxx-time --with-sysroot=3D/usr/msp430-elf --disable-bootstrap --with-newlib --enable-multilib --disable-fixed-point --disable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-vtable-verify --disable-libv= tv --with-zstd --enable-lto --without-isl --disable-libsanitizer --enable-default-pie --enable-default-ssp Thread model: single Supported LTO compression algorithms: zlib zstd gcc version 10.3.0 (Gentoo 10.3.0 p1) gcc-11 fails as: Making all in c++17 make[5]: Entering directory '/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/lib= stdc++-v3/src/c++17' /bin/bash ../../libtool --tag CXX --tag disable-shared --mode=3Dcompile /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/./gcc/xgcc -shared-libgcc -B/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/./gcc -nostdi= nc++ -L/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/li= bstdc++-v3/src -L/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/li= bstdc++-v3/src/.libs -L/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/li= bstdc++-v3/libsupc++/.libs -B/usr/msp430-elf/bin/ -B/usr/msp430-elf/lib/ -isystem /usr/msp430-elf/incl= ude -isystem /usr/msp430-elf/sys-include=20=20=20 -I/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/= libstdc++-v3/../libgcc -I/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/li= bstdc++-v3/include/msp430-elf -I/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/li= bstdc++-v3/include -I/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/= libstdc++-v3/libsupc++ -std=3Dgnu++17 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=3D2 -fdiagnostics-show-location=3Donce -ffunction-sect= ions -fdata-sections -frandom-seed=3Dfloating_to_chars.lo -fimplicit-templates= -g -O2 -c -o floating_to_chars.lo /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/li= bstdc++-v3/src/c++17/floating_to_chars.cc libtool: compile:=20 /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/./gcc/xgcc -shared-libgcc -B/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/./gcc -nostdi= nc++ -L/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/li= bstdc++-v3/src -L/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/li= bstdc++-v3/src/.libs -L/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/li= bstdc++-v3/libsupc++/.libs -B/usr/msp430-elf/bin/ -B/usr/msp430-elf/lib/ -isystem /usr/msp430-elf/incl= ude -isystem /usr/msp430-elf/sys-include -I/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/= libstdc++-v3/../libgcc -I/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/li= bstdc++-v3/include/msp430-elf -I/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/build/msp430-elf/li= bstdc++-v3/include -I/tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/= libstdc++-v3/libsupc++ -std=3Dgnu++17 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast= -qual -Wabi=3D2 -fdiagnostics-show-location=3Donce -ffunction-sections -fdata-sec= tions -frandom-seed=3Dfloating_to_chars.lo -fimplicit-templates -g -O2 -c /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/li= bstdc++-v3/src/c++17/floating_to_chars.cc -o floating_to_chars.o In file included from /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/li= bstdc++-v3/src/c++17/floating_to_chars.cc:107: /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/li= bstdc++-v3/src/c++17/ryu/d2fixed_full_table.h:1283:23: error: size of array 'POW10_SPLIT_2' exceeds maximum object size '32767' 1283 | static const uint64_t POW10_SPLIT_2[3133][3] =3D { | ^~~~~~~~~~~~~ In file included from /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/li= bstdc++-v3/src/c++17/floating_to_chars.cc:110: /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/li= bstdc++-v3/src/c++17/ryu/d2fixed.c: In function 'int {anonymous}::ryu::d2fixed_buffered_n(double, uint32_t, char*)': /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/li= bstdc++-v3/src/c++17/ryu/d2fixed.c:425:50: error: 'POW10_SPLIT_2' was not declared in this scope; did you mean 'POW10_SPLIT'? 425 | uint32_t digits =3D mulShift_mod1e9(m2 << 8, POW10_SPLIT_2[p]= , j + 8); | ^~~~~~~~~~~~~ | POW10_SPLIT /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/li= bstdc++-v3/src/c++17/ryu/d2fixed.c: In function 'int {anonymous}::ryu::d2exp_buffered_n(double, uint32_t, char*, int*)': /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/li= bstdc++-v3/src/c++17/ryu/d2fixed.c:601:78: error: 'POW10_SPLIT_2' was not declared in this scope; did you mean 'POW10_SPLIT'? 601 | digits =3D (p >=3D POW10_OFFSET_2[idx + 1]) ? 0 : mulShift_mo= d1e9(m2 << 8, POW10_SPLIT_2[p], j + 8); |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~ |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 POW10_SPLIT Configured as: $ LANG=3DC ./gcc/xgcc -Bgcc -v Reading specs from gcc/specs COLLECT_GCC=3D./gcc/xgcc COLLECT_LTO_WRAPPER=3Dgcc/lto-wrapper Target: msp430-elf Configured with: /tmp/portage/cross-msp430-elf/gcc-12.0.0_pre9999/work/gcc-12.0.0_pre9999/co= nfigure --host=3Dx86_64-pc-linux-gnu --target=3Dmsp430-elf --build=3Dx86_64-pc-linu= x-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/msp430-elf/gcc-bin/12.0= .0 --includedir=3D/usr/lib/gcc/msp430-elf/12.0.0/include --datadir=3D/usr/share/gcc-data/msp430-elf/12.0.0 --mandir=3D/usr/share/gcc-data/msp430-elf/12.0.0/man --infodir=3D/usr/share/gcc-data/msp430-elf/12.0.0/info --with-gxx-include-dir=3D/usr/lib/gcc/msp430-elf/12.0.0/include/g++-v12 --with-python-dir=3D/share/gcc-data/msp430-elf/12.0.0/python --enable-languages=3Dc,c++ --enable-obsolete --enable-secureplt --disable-w= error --with-system-zlib --enable-nls --without-included-gettext --enable-checking=3Drelease --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 12.0.0_pre9999 p1, commit d8d291f3367230fdfdacc9868b0aa01de1dabb13' --disable-esp --enable-libstdcxx-= time --enable-poison-system-directories --disable-libstdcxx-time --with-sysroot=3D/usr/msp430-elf --disable-bootstrap --with-newlib --enable-multilib --disable-fixed-point --disable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --enable-lto --without= -isl --disable-libsanitizer --enable-default-pie --enable-default-ssp Thread model: single Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210430 (experimental) (Gentoo 12.0.0_pre9999 p1, commit d8d291f3367230fdfdacc9868b0aa01de1dabb13)=