Bug 111777 - [14 regression] build breaks after r14-4558-g400efdddf3d849
Summary: [14 regression] build breaks after r14-4558-g400efdddf3d849
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 14.0
: P3 normal
Target Milestone: 14.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build, documentation
Depends on:
Blocks:
 
Reported: 2023-10-11 21:45 UTC by seurer
Modified: 2023-10-12 15:19 UTC (History)
2 users (show)

See Also:
Host: powerpc64-linux-gnu
Target: powerpc64-linux-gnu
Build: powerpc64-linux-gnu
Known to work:
Known to fail:
Last reconfirmed: 2023-10-12 00:00:00


Attachments
Bugfix for incorrect documentation heading nesting (532 bytes, patch)
2023-10-12 09:28 UTC, mary.bennett
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description seurer 2023-10-11 21:45:51 UTC
g:400efdddf3d8499d7c7969d26bedb537a625c070, r14-4558-g400efdddf3d849 

This breaks the build on some of our older (power 7/8) big endian systems.

make
. . .
if [ xinfo = xinfo ]; then \
	makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I /home/seurer/gcc/git/gcc-test/gcc/doc \
		-I /home/seurer/gcc/git/gcc-test/gcc/doc/include -o doc/gcc.info /home/seurer/gcc/git/gcc-test/gcc/doc/gcc.texi; \
fi
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21708: warning: node next `RISC-V Vector Intrinsics' in menu `CORE-V Built-in Functions' and in sectioning `RX Built-in Functions' differ
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21716: warning: node `RX Built-in Functions' is next for `CORE-V Built-in Functions' in menu but not in sectioning
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21716: warning: node `RISC-V Vector Intrinsics' is prev for `CORE-V Built-in Functions' in menu but not in sectioning
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21716: warning: node up `CORE-V Built-in Functions' in menu `Target Builtins' and in sectioning `RISC-V Vector Intrinsics' differ
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21708: node `RISC-V Vector Intrinsics' lacks menu item for `CORE-V Built-in Functions' despite being its Up target
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21795: warning: node prev `RX Built-in Functions' in menu `CORE-V Built-in Functions' and in sectioning `RISC-V Vector Intrinsics' differ
make[2]: *** [doc/gcc.info] Error 1




commit 400efdddf3d8499d7c7969d26bedb537a625c070
Author: Mary Bennett <mary.bennett@embecosm.com>
Date:   Wed Oct 11 07:39:41 2023 -0600

    [PATCH v4 1/2] RISC-V: Add support for XCVmac extension in CV32E40P
    
    Spec: github.com/openhwgroup/core-v-sw/blob/master/specifications/corev-builtin-spec.md
Comment 1 Andrew Pinski 2023-10-11 21:48:12 UTC
Waht version of makeinfo/texinfo is installed there?
Comment 2 Andrew Pinski 2023-10-11 21:49:34 UTC
We currently require texinfo 4.7:
https://gcc.gnu.org/install/prerequisites.html
Comment 3 seurer 2023-10-11 21:51:37 UTC
makeinfo --version

shows

texi2any (GNU texinfo) 6.7


Note:  "mary.bennett@embecosm.com" does not work for a CC address and I don't see another Mary Bennett.
Comment 4 seurer 2023-10-11 21:52:36 UTC
Oops, wrong system.  On the failing one it shows:

makeinfo (GNU texinfo) 5.1
Comment 5 Andrew Pinski 2023-10-11 21:56:35 UTC
(In reply to seurer from comment #3)
> Note:  "mary.bennett@embecosm.com" does not work for a CC address and I
> don't see another Mary Bennett.

I added Jeff to the CC who committed the patch upon Mary so hopefully Jeff can help here.
Comment 6 Jeffrey A. Law 2023-10-12 02:03:39 UTC
I would hazard a guess that Mary doesn't have a bugzilla account.  I'll drop her a direct email.
Comment 7 mary.bennett 2023-10-12 09:28:30 UTC
Created attachment 56093 [details]
Bugfix for incorrect documentation heading nesting
Comment 8 mary.bennett 2023-10-12 09:29:44 UTC
Thanks for pinging me, Jeff
Comment 9 seurer 2023-10-12 14:53:15 UTC
That patch works fine on a system where the build was failing.
Comment 10 GCC Commits 2023-10-12 15:18:35 UTC
The master branch has been updated by Jeff Law <law@gcc.gnu.org>:

https://gcc.gnu.org/g:e99ad401f84ca6cd2717a58a116e44274d55da70

commit r14-4595-ge99ad401f84ca6cd2717a58a116e44274d55da70
Author: Mary Bennett <mary.bennett@embecosm.com>
Date:   Thu Oct 12 09:17:24 2023 -0600

    RISCV: Bugfix for incorrect documentation heading nesting
    
            PR middle-end/111777
    
    gcc/ChangeLog:
            * doc/extend.texi: Change subsubsection to subsection for
            CORE-V built-ins.
Comment 11 Jeffrey A. Law 2023-10-12 15:19:14 UTC
Fixed by Mary's patch on the trunk.