Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2017 07:22:12 -0400
From:      Jim Ohlstein <jim@mailman-hosting.com>
To:        "Russell L. Carter" <rcarter@pinyon.org>, freebsd-questions@freebsd.org
Subject:   Re: -O2 flag
Message-ID:  <1497180132.3245.9.camel@mailman-hosting.com>
In-Reply-To: <74d71bbd-a177-5fbc-8ed2-ca42e3f4915c@pinyon.org>
References:  <593C4679.5010104@gmail.com> <20170610223753.4e37600d2c32d0b689144e00@yahoo.es> <593C8DE1.4060803@gmail.com> <1497145677.3245.5.camel@mailman-hosting.com> <74d71bbd-a177-5fbc-8ed2-ca42e3f4915c@pinyon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2017-06-10 at 19:24 -0700, Russell L. Carter wrote:
> On 06/10/17 18:47, Jim Ohlstein wrote:
> > 
> > On Sat, 2017-06-10 at 21:25 -0300, Friedrich Locke wrote:
> > > 
> > > i switched to clan40, same error, i.e., it still persist.
> > > 
> > > The problem is that open OpenBSD/amd64 6.1, "gcc -O2" works 100
> > > %.
> > > 
> > > What could it be the problem ?
> > As a practical suggestion, how about installing one of the versions
> > of
> > gcc in ports and using that to compile your app?
> > 
> > 
> He's tried both gcc and clang and the result was the same.  The
> problem
> is most likely an assumption about the values on the stack, given
> that
> the application "works" on openbsd.

One of us has misread, but I took his statement to read that it
compiles with gcc -02 on OpenBSD. He's tried two versions of clang on
FreeBSD (38 and 40).

> 
> These stack details were pointed out previously and all the new
> evidence
> only increases the likelihood that it is a stack problem in the code.
> 
> No guarantees, though.
> 

-- 
Jim Ohlstein
Professional Mailman Hosting
https://mailman-hosting.com/




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