Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2024 07:00:10 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Rene Ladan <rene@freebsd.org>
Cc:        Cy Schubert <cy@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 92b0c9cdbef5 - main - sysutils/screen*: Fix stack  overflow detected on aarch64
Message-ID:  <20240818140010.46519362@slippy.cwsent.com>
In-Reply-To: <ZsH74Kg_SIP3mn8c@freefall.freebsd.org>
References:  <202408181311.47IDBrJA022315@gitrepo.freebsd.org>  <ZsH74Kg_SIP3mn8c@freefall.freebsd.org>

index | next in thread | previous in thread | raw e-mail

In message <ZsH74Kg_SIP3mn8c@freefall.freebsd.org>, Rene Ladan writes:
> On Sun, Aug 18, 2024 at 01:11:53PM +0000, Cy Schubert wrote:
> > The branch main has been updated by cy:
> > 
> > URL: https://cgit.FreeBSD.org/ports/commit/?id=92b0c9cdbef548739d6209165c3e
> 1731761d010d
> > 
> > commit 92b0c9cdbef548739d6209165c3e1731761d010d
> > Author:     Cy Schubert <cy@FreeBSD.org>
> > AuthorDate: 2024-08-18 13:08:04 +0000
> > Commit:     Cy Schubert <cy@FreeBSD.org>
> > CommitDate: 2024-08-18 13:11:28 +0000
> > 
> >     sysutils/screen*: Fix stack overflow detected on aarch64
> >     
> >     Fix,
> >     
> >     SCREEN[1304]: stack overflow detected; terminated
> >     kernel: pid 1304 (screen-4.9.1), jid 0, uid 0: exited on signal 6 (core
>  dumped)
> >     
> This looks to me that you are sweeping the actual problem under the carpet.

This is a compiler bug. GCC13 builds a working binary while LLVM does not. 
This already affects armv6, armv7, i386, and powerpc; the stack is larger 
at function return than when it was called. Clearly a clang bug.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240818140010.46519362>