Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2020 17:04:25 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Piotr Kubaj <pkubaj@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r538880 - head/graphics/libglvnd
Message-ID:  <h7vc-4bgm-wny@FreeBSD.org>
In-Reply-To: <366w-5qb6-wny@FreeBSD.org> (Jan Beich's message of "Mon, 15 Jun 2020 16:58:21 %2B0200")
References:  <202006151432.05FEW8Jo096922@repo.freebsd.org> <366w-5qb6-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich <jbeich@FreeBSD.org> writes:

> Piotr Kubaj <pkubaj@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@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h7vc-4bgm-wny>