From owner-freebsd-ports@freebsd.org Mon Jan 15 10:44:12 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE90CE72739; Mon, 15 Jan 2018 10:44:12 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: from mail-io0-f171.google.com (mail-io0-f171.google.com [209.85.223.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A0A26CB5C; Mon, 15 Jan 2018 10:44:11 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: by mail-io0-f171.google.com with SMTP id t22so418762ioa.7; Mon, 15 Jan 2018 02:44:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Z+IQFhOHn2AZC+mGbXwmbFTbmATtkUjwKlVVb/WWCec=; b=rVzxsAJt2bfrz8g795bSasdkfudf3eJmigGt8K4biv2rftw/uVx4Vfx5CmVkEMZKbY UyozjZHcSxTWIvJuRJmOvli+5KZg82+yVqIqps1NegiDXvf10JfnZqQi1IjNXNxxTsQ+ VYOH8QjFsnJXcDA5aIXUK8mVvsumXwrOCMhED00Hey/KINNBHmu96/RDFwFAcw90QYZs MrFsp/VgkkyCGuea35LTUHoY/+dVqxAHMxGyQSLYMIuKEsOgc3VjlLYRDz2Zqg8FTdbT SJ5bDW/6VONUylZJKZEJa36+z8/DoLHcdx8P3QgJd8HJqmhPXPSBPpoeK9pl5zameF+E ImSQ== X-Gm-Message-State: AKwxyteKw6twtpuvkYiH6AOD+k0GpdYVnnjaDun29YiWNxC+rVpmwwV2 gKldn/3ZmHfKpPfOzHLh9ZWj4/Cv X-Google-Smtp-Source: ACJfBotx14+t+bAFQ+9qKKJsjT0CUjQtg4ip6fKUjsERQI7qfh8apFLFf2Zdb1MOGftHf9Si3VCuZw== X-Received: by 10.107.82.15 with SMTP id g15mr1689600iob.157.1516013045540; Mon, 15 Jan 2018 02:44:05 -0800 (PST) Received: from mail-io0-f182.google.com (mail-io0-f182.google.com. [209.85.223.182]) by smtp.gmail.com with ESMTPSA id t4sm5027013ita.27.2018.01.15.02.44.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jan 2018 02:44:05 -0800 (PST) Received: by mail-io0-f182.google.com with SMTP id c17so12634418iod.1; Mon, 15 Jan 2018 02:44:05 -0800 (PST) X-Received: by 10.107.51.149 with SMTP id z143mr489121ioz.287.1516013045069; Mon, 15 Jan 2018 02:44:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.169.12 with HTTP; Mon, 15 Jan 2018 02:43:44 -0800 (PST) From: Luca Pizzamiglio Date: Mon, 15 Jan 2018 11:43:44 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: atomic in i386 Current after CLANG 6 upgrade To: FreeBSD Current , freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2018 10:44:12 -0000 Hy all, I've already received a couple of messages from pkg-fallout about build failure on head-i386-default [1] [2] both pointing to the same errors, about missing intrinsic symbols related to __atomic_* The clang documentation about C11 atomic builtins [3] stats that __atomic_* are GCC extension and Clang provides them. It seems to me that this specific GCC-compatible builtin are enabled on amd64, but not on i386. Is there a way to enable GCC compatible __atomic_ builtin also on i386? Or should I provide patches to adopt _c11_atomic_* instead of __atomic_* for every ports that need it ? Thanks in advance! Best regards, pizzamg [1] http://beefy11.nyi.freebsd.org/data/head-i386-default/p458948_s327953/logs/librdkafka-0.11.3.log [2] http://beefy11.nyi.freebsd.org/data/head-i386-default/p458948_s327953/logs/stress-ng-0.09.09.log [3] https://clang.llvm.org/docs/LanguageExtensions.html#langext-c11-atomic