Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: lang/gcc: update to 15.x, need help with testing
To:
ports@openbsd.org
Date:
Tue, 5 Aug 2025 13:00:54 +0100

Download raw body.

Thread
  • Stuart Henderson:

    lang/gcc: update to 15.x, need help with testing

  • with i386, after syncing the arch-specific USE_LLD parts from the recent
    update in 8/11, I get quite a few of these during build, though it gets
    past that stage.
    
    /usr/bin/ld.bfd: Dwarf Error: found dwarf version '5', this reader only handles version 2 information.
    
    eventually fails here:
    
    checking for cabs... /pobj/gcc-15.1.0/build-i386/./gcc/xgcc -B/pobj/gcc-15.1.0/build-i386/./gcc/ -B/usr/local/i386-unknown-openbsd/bin/ -B/usr/local/i386-unknown-openbsd/lib/ -isystem /usr/local/i386-unknown-openbsd/include -isystem /usr/local/i386-unknown-openbsd/sys-include   -fno-checking -c -g -O2  -fpic -fno-lto  -W -Wall -gnatpg -nostdinc   g-sothco.adb -o g-sothco.o
    /pobj/gcc-15.1.0/build-i386/./gcc/xgcc -B/pobj/gcc-15.1.0/build-i386/./gcc/ -B/usr/local/i386-unknown-openbsd/bin/ -B/usr/local/i386-unknown-openbsd/lib/ -isystem /usr/local/i386-unknown-openbsd/include -isystem /usr/local/i386-unknown-openbsd/sys-include   -fno-checking -c -g -O2  -fpic -fno-lto  -W -Wall -gnatpg -nostdinc   g-socpol.adb -o g-socpol.o
    yes
    checking for cabsl... /pobj/gcc-15.1.0/build-i386/./gcc/xgcc -B/pobj/gcc-15.1.0/build-i386/./gcc/ -B/usr/local/i386-unknown-openbsd/bin/ -B/usr/local/i386-unknown-openbsd/lib/ -isystem /usr/local/i386-unknown-openbsd/include -isystem /usr/local/i386-unknown-openbsd/sys-include   -fno-checking -c -g -O2  -fpic -fno-lto  -W -Wall -gnatpg -nostdinc   g-spogwa.adb -o g-spogwa.o
    g-socket.adb:2882:26: error: value not in range of type "time_t" defined at g-sothco.ads:47
    g-socket.adb:2882:26: error: static expression fails Constraint_Check
    g-socket.adb:2884:26: error: value not in range of type "time_t" defined at g-sothco.ads:47
    g-socket.adb:2884:26: error: static expression fails Constraint_Check
    yes
    checking for floorf... gmake[7]: *** [../gcc-interface/Makefile:294: g-socket.o] Error 1
    gmake[7]: *** Waiting for unfinished jobs....
    yes
    checking for floor... yes
    
    full log attached
    
  • Stuart Henderson:

    lang/gcc: update to 15.x, need help with testing