Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2018 15:04:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225377] archivers/liblz4: setting TARGET_ARCH variable prevent to compile
Message-ID:  <bug-225377-13-1v9JsO4Vnt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225377-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225377-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225377

Martin Waschb=C3=BCsch <martin@waschbuesch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #5 from Martin Waschb=C3=BCsch <martin@waschbuesch.de> ---
(In reply to Olivier Cochard from comment #4)

Thank you, Olivier,

I was able to reproduce the described error.
Also, your patch does 'solve' the issue, but by forcibly unsetting the
environment variable so that, in the end, running
env 'TARGET_ARCH=3Darmv6' make
env 'TARGET_ARCH=3Di386' make
env 'TARGET_ARCH=3Damd64' make

all result in the very same library being built (namely the version for the
arch you are running on):

file /usr/ports/archivers/liblz4/work/stage/usr/local/lib/liblz4.so.1.8.1
/usr/ports/archivers/liblz4/work/stage/usr/local/lib/liblz4.so.1.8.1: ELF
64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked,
stripped

I am all for improving the port, but this looks very wrong to me.
All the same, I'll dig into this some more and get back to you.

Martin

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225377-13-1v9JsO4Vnt>