Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: lang/gcc: update to 15.x, need help with testing
To:
ports@openbsd.org
Date:
Tue, 05 Aug 2025 21:59:38 +0200

Download raw body.

Thread
  • Stuart Henderson:

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

  • Pascal Stumpf:

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

  • On Tue, 05 Aug 2025 14:00:54 +0200,
    Stuart Henderson <stu@spacehopper.org> wrote:
    > 
    > 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.
    >
    
    I think that we can ignore it because it related only for debug 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
    
    And this one rings a bell. Because when I updated patches I had touched
    things related to some time_t in ADA.
    
    Thanks, will digg into it.
    
    -- 
    wbr, Kirill
    
    
  • Stuart Henderson:

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

  • Pascal Stumpf:

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