Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2013 22:26:44 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        Chie Taguchi <taguchi.ch@gmail.com>
Cc:        Guillaume Bibaut <yom@iaelu.net>, freebsd-arm@freebsd.org
Subject:   Re: building document of Xorg
Message-ID:  <EE342965-2CDF-4074-A645-B64D34B6F7DC@kientzle.com>
In-Reply-To: <20130819220401.11acd306a94e60a87d6424c9@gmail.com>
References:  <20130818101242.b3801b1b97dbe42cb905653c@gmail.com> <0D701E6E-8DE0-45DE-854B-133FCCC35C79@iaelu.net> <20130818212508.beddbf0e04a2f5f9a3a699a1@gmail.com> <20130819220401.11acd306a94e60a87d6424c9@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Here's another way to fix libgcrypt on arm.  This disables
the GCC-specific assembly code.  I've verified that this allows
libgcrypt to build on FreeBSD/ARM with clang.  I haven't done any
tests so don't know whether this impacts libgcrypt
performance or not:

--- work/libgcrypt-1.5.3/mpi/longlong.h.orig    2013-07-25 =
09:10:04.000000000 +0000
+++ work/libgcrypt-1.5.3/mpi/longlong.h 2013-08-19 09:59:28.000000000 =
+0000
@@ -184,7 +184,7 @@
 /***************************************
  **************  ARM  ******************
  ***************************************/
-#if defined (__arm__) && W_TYPE_SIZE =3D=3D 32
+#if defined (__arm__) && W_TYPE_SIZE =3D=3D 32 && !defined(__FreeBSD__)
 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
   __asm__ ("adds %1, %4, %5\n"                                          =
\
           "adc  %0, %2, %3"                                            =
\


On Aug 19, 2013, at 6:04 AM, Chie Taguchi wrote:

> i add security/libgcrypt(ports/181365), graphics/libGL(ports/176705) =
to repo.
>=20
> and i also added document about security/libgcrypt(ports/181365), =
graphics/dri(ports/176703), graphics/libGL(ports/176705).
>=20
> regards.
>=20
> C.Taguchi
>=20
> On Sun, 18 Aug 2013 21:25:08 +0900
> Chie Taguchi <taguchi.ch@gmail.com> wrote:
>=20
>> thank you for your infomation.
>>=20
>> it is useful for many people to make a collection repo of ports fix =
infomation about Xorg and others.
>>=20
>> i will push that fixes, security/libgcrypt(ports/181365), =
graphics/dri(ports/176703), graphics/libGL(ports/176705) to repo later.
>>=20
>> and i also sended PR x11-fonts/fontconfig issue(ports/181372).
>>=20
>> but i have a question about ${ARCH} value in ports Makefile. "armv6" =
or "arm" || "armv6", which is the better way?=20
>>=20
>> thanks,
>>=20
>> C.Taguchi
>>=20
>> On Sun, 18 Aug 2013 09:42:06 +0200
>> Guillaume Bibaut <yom@iaelu.net> wrote:
>>=20
>>> Very nice, at least that's what I was looking for.
>>>=20
>>> There are still patches to apply on some other ports too :
>>> - security/libgcrypt : to use GCC
>>> - graphics/dri : =
http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/176703
>>> - graphics/libGL : the same as dri since it's based on MesaLib
>>>=20
>>> I can't remember if I'm forgetting anything else, but if anyone =
finds anything, they could add it here :)
>>>=20
>>> Thanks.
>>>=20
>>> --
>>> Guillaume Bibaut
>>>=20
>>> Le 18 aout 2013 a 03:12, Chie Taguchi <taguchi.ch@gmail.com>=20
>>>=20
>>>> Hi all,
>>>>=20
>>>> i wrote a building document of x11/Xorg(not minimum) for =
RaspberryPi.
>>>> if you want to build Xorg, it will be useful for you!
>>>> i hope so.:)
>>>>=20
>>>> https://github.com/taguchi-ch/freebsd-ports-xorg-raspberrypi
>>>>=20
>>>> Thanks.
>>>>=20
>>>> --=20
>>>> Chie Taguchi <taguchi.ch@gmail.com>
>>>> _______________________________________________
>>>> freebsd-arm@freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>>> To unsubscribe, send any mail to =
"freebsd-arm-unsubscribe@freebsd.org"
>>>=20
>>=20
>>=20
>> --=20
>> Chie Taguchi <taguchi.ch@gmail.com>
>=20
>=20
> --=20
> Chie Taguchi <taguchi.ch@gmail.com>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EE342965-2CDF-4074-A645-B64D34B6F7DC>