building document of Xorg

Tim Kientzle tim at kientzle.com
Tue Aug 20 05:26:47 UTC 2013


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



More information about the freebsd-arm mailing list