svn commit: r538880 - head/graphics/libglvnd

Jan Beich jbeich at FreeBSD.org
Mon Jun 15 15:04:28 UTC 2020


Jan Beich <jbeich at FreeBSD.org> writes:

> Piotr Kubaj <pkubaj at FreeBSD.org> writes:
>
>> Author: pkubaj
>> Date: Mon Jun 15 14:32:08 2020
>> New Revision: 538880
>> URL: https://svnweb.freebsd.org/changeset/ports/538880
>>
>> Log:
>>   graphics/libglvnd: fix build on powerpc64 elfv2
>>   
>>   Clang fails to build this port, use GCC for now.
>
> What was the error? It built fine with GCC 9 on amd64.

Err, I've found the error log. However, the logs are transient thus may
disappear in a year, unlikely to be cached by Wayback Machine.

http://pylon.nyi.freebsd.org/data/head-powerpc64-default/p538068_s361855/logs/errors/libglvnd-1.3.1.log

> FAILED: src/GLdispatch/vnd-glapi/692a89e@@libglapi at sta/entry_ppc64_tls.c.o 
[...]
> <inline asm>:69651:14: error: invalid operand for instruction
>   ld     12, (4096*8)@l (11)
>              ^
> <inline asm>:69668:14: error: invalid operand for instruction
>   ld     12, (4097*8)@l (11)

This looks like something that maybe fixed by

  BUILD_DEPENDS+= ${BUILD_DEPENDS_${ARCH}}
  BUILD_DEPENDS_powerpc64=      as:devel/binutils
  CFLAGS_powerpc64=	-no-integrated-as

Did you try?


More information about the svn-ports-all mailing list