Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2014 23:00:27 +0200
From:      Ralf Wenk <iz-rpi03@hs-karlsruhe.de>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: screen(1) crashes plus weird output for screen -ls
Message-ID:  <E1WYM5D-008xD0-Oy@smtp.hs-karlsruhe.de>
In-Reply-To: <18ADCE9C-C604-4067-B4D1-32EC07499231@bsdimp.com>
References:  <freemail.20140405150804.40570.1@xmldata04>  <E1WTAl0-004Ooa-Au@smtp.hs-karlsruhe.de> <E1WYFYa-00CDeU-Gv@smtp.hs-karlsruhe.de> <18ADCE9C-C604-4067-B4D1-32EC07499231@bsdimp.com>

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

This is with clang. The release tag for kernel and world is r264192.

$ cc -v
FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216
Target: armv6--freebsd11.0-gnueabi
Thread model: posix
Selected GCC installation: 
$

I was not successful in compiling a gcc from the ports on armv6.
ONLY_FOR_ARCHS prohibits it. After adding armv6 to the allowed
architectures I ran into the binutils building problem mentioned
here on the list. As I know too less about binutils my humble patches
were not successful.

Ralf

> Is this with clang or gcc? Does the other compiler give different results?
> 
> Warner
> 
> On Apr 10, 2014, at 8:02 AM, Ralf Wenk <iz-rpi03@hs-karlsruhe.de> wrote:
> 
> > Hi,
> > 
> > the optimizations made by the current Clang seems to be the cause.
> > 
> > Without optimization (-O0) "screen -ls" shows the expected
> > 
> >  There is a screen on:
> >          43597.pts-0.raspberry-pi        (Detached)
> >  1 Socket in /tmp/screens/S-root.
> > 
> > With the first optimization level (-O1) I get
> > 
> >  There is a screen on:
> >          43597.pts-0.raspberry-pi        (Detached)
> >  120984 Socketõÿ¿lå in .
> > 
> > and with -O2
> > 
> >  There is a screen on:
> >          43597.pts-0.raspberry-pi        (Detached)
> >  -1073746696 Socket
> >                    Ð á in õÿ¿8è.
> > 
> > 
> > Ralf



home | help

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