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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is with clang. The release tag for kernel and world is r264192.

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

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 resul=
ts?
>=20
> Warner
>=20
> On Apr 10, 2014, at 8:02 AM, Ralf Wenk <iz-rpi03=40hs-karlsruhe.de> wro=
te:
>=20
> > Hi,
> >=20
> > the optimizations made by the current Clang seems to be the cause.
> >=20
> > Without optimization (-O0) =22screen -ls=22 shows the expected
> >=20
> >  There is a screen on:
> >          43597.pts-0.raspberry-pi        (Detached)
> >  1 Socket in /tmp/screens/S-root.
> >=20
> > With the first optimization level (-O1) I get
> >=20
> >  There is a screen on:
> >          43597.pts-0.raspberry-pi        (Detached)
> >  120984 Socket=F5=FF=BFl=E5 in .
> >=20
> > and with -O2
> >=20
> >  There is a screen on:
> >          43597.pts-0.raspberry-pi        (Detached)
> >  -1073746696 Socket
> >                    =D0 =E1 in =F5=FF=BF8=E8.
> >=20
> >=20
> > Ralf




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