From owner-freebsd-x11@freebsd.org Thu Sep 20 19:27:06 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B9BA10A6D8E for ; Thu, 20 Sep 2018 19:27:06 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 355987B606 for ; Thu, 20 Sep 2018 19:27:06 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id E722110A6D8B; Thu, 20 Sep 2018 19:27:05 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C52D410A6D8A for ; Thu, 20 Sep 2018 19:27:05 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 625897B5F5; Thu, 20 Sep 2018 19:27:05 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-xd2c.google.com with SMTP id w11-v6so9220369iob.2; Thu, 20 Sep 2018 12:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=ZzKTfqsM85qgJFEY+yVGx5SOfytSvCFflMam0JBjTnQ=; b=J25usdDm1yfRyfSJF07NnfqJ84ZrG3bf/txEO11JNVJaW25R4176ywmdZ0dWy2621k xJ5cjne3zOfl1C9EFOWKJiY6lZk6ZvhmvZfvAd4ysjrbEbwU3bo//8ESLBhqJiJIYFAo xsGY1CKqKMVmYT8tUyo8cB3pzxFDfUwhQfFWDerDg73+67a6etN70WlgDqrz6uaamSC3 SnGWTTsBZifuyKLoIp64H/+rHgIbaD/stiavVoUpSwyGacQ6pR2kadGuUZZF6I3viE1P F2LZRpw1MYCVOajqWbSiKhv0x1p8tMQOv0MwWgraTdokYBZ7WVEgGLju2R8ZsluAqngG B3qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=ZzKTfqsM85qgJFEY+yVGx5SOfytSvCFflMam0JBjTnQ=; b=C2hCwj0ftya19+Fdwzw2A2KOqcrMK11sIsUTEiPEKCl9rOAiyIXZu0HwLSBpJ49zYY k3aofJrcGv9FLmzVbxs+7pT4qIAnRppaD+qf/IMQ0JHoYTh2+X9WAkU72LSmJQPw2RJj DX95Hmg9rrJnShVLQS2ixJiklCMaOUQuJXUSCvmQ9erx0aFXZ4g6xCDqAJaEYz6wr5Nk CWOmnJogEcvrR1U2gRtW0xb+xESv/68FShJml+NktQRYoKA+tj/ac/GlLqKeIeCoGlGN eHC9oVCM37EHAt9hNASDwuJHdDUVB5KSTBdpqtYW8h1k1m58gSjCUtlNTQLRacyQWLaq 8J6g== X-Gm-Message-State: APzg51DqFYmZeigtPG5hWvcM36atUzAyr7KyxJnmdUorVQlqgP4HBL55 M2zA6QCD4tdUNhVPL4FriRBG/uuAJVw7IxDJf6pfsLms X-Google-Smtp-Source: ANB0VdarTdeOhBvgdLuQ/taymdUv1nn7ihXUGIsuo2Z5B7mo7G9gY3Q5F640Vjv2xdo5mth9lQO2rPeKXOwMluc5t40= X-Received: by 2002:a02:6c45:: with SMTP id w66-v6mr38120958jab.87.1537471624595; Thu, 20 Sep 2018 12:27:04 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 2002:a6b:404:0:0:0:0:0 with HTTP; Thu, 20 Sep 2018 12:26:44 -0700 (PDT) From: Ed Maste Date: Thu, 20 Sep 2018 15:26:44 -0400 X-Google-Sender-Auth: mSY1R5Hs_GHoGaNKaqkDqI9NE2k Message-ID: Subject: Heads-up: you have a port that does not link with lld on i386 To: acm@freebsd.org, amdmi3@freebsd.org, andrey@bsdnir.info, bbtruk@users.sourceforge.net, Bernard Spil , Cy Schubert , Alexey Dokuchaev , db@freebsd.org, ehaupt@freebsd.org, eugen@freebsd.org, freebsd@skinc.ru, jwb@freebsd.org, kuriyama@freebsd.org, mi@aldan.algebra.com, michael.osipov@siemens.com, mr@freebsd.org, thierry@freebsd.org, vbox@freebsd.org, x11@freebsd.org, yuri@freebsd.org, Ryan Steinmetz Cc: Mahdi Mokhtari Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Thu, 20 Sep 2018 20:04:23 +0000 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2018 19:27:06 -0000 Antoine just finished an exp-run in PR214864 for issues with LLVM's lld linker as /usr/bin/ld, and the folks in the To: line are listed as maintainer for one or more of the 85 or so ports that failed in that exp-run. Poudriere build link:http://package18.nyi.freebsd.org/build.html?mastername=headi386PR214864-default&build=2018-09-18_21h13m11s One of the most common issues that lld exposes is ports that link non-PIC code into shared objects; by default lld disallows this and results in an error. This shows up as an error like: /usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: _glapi_Dispatch in readonly segment; recompile object files with -fPIC >>> defined in .libs/shared_glapi_libglapi_la-u_current.o >>> referenced by entry.c >>> .libs/shared_glapi_libglapi_la-entry.o:(.text+0x1) In many cases I've taken to adding LDFLAGS_i386=-Wl,-znotext which just overrides lld's default and makes it the same as GNU ld (allowing .text relocations), although a better fix would entail understanding the port's build and any reason it may explicitly be avoiding PIC on i386. If you have a moment I'd appreciate it if you can investigate your port's failure and apply a fix. If the problem is other than the one described above, or the LDFLAGS_i386 workaround is not effective, I'm happy to help find a different fix. -Ed