From owner-svn-src-all@FreeBSD.ORG Mon Jun 30 18:16:44 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82F73D9C; Mon, 30 Jun 2014 18:16:44 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46A3824BA; Mon, 30 Jun 2014 18:16:43 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id A566D1FE02D; Mon, 30 Jun 2014 20:16:42 +0200 (CEST) Message-ID: <53B1A99C.5020607@selasky.org> Date: Mon, 30 Jun 2014 20:17:00 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r268055 - head/sys/sys References: <201406301811.s5UIBMxh036571@svn.freebsd.org> In-Reply-To: <201406301811.s5UIBMxh036571@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 18:16:44 -0000 On 06/30/14 20:11, Hans Petter Selasky wrote: > Author: hselasky > Date: Mon Jun 30 18:11:22 2014 > New Revision: 268055 > URL: http://svnweb.freebsd.org/changeset/base/268055 > > Log: > Workaround for bug in GCC on powerpc64. Symbols that are exported are > by fault required to be all "static" or all "extern". > > Modified: > head/sys/sys/linker_set.h > Hi, This commit should fix this and similar errors: /src/sys/cam/cam.c:112: error: __set_sysctl_set_sym_sysctl___kern_cam causes a section type conflict /src/sys/cam/cam.c:112: error: __set_sysctl_set_sym_sysctl___kern_cam causes a section type conflict Fix probably belongs in GCC which is far outside my area. If someone finds and can fix the bug in the in-tree GCC code, that would be the best. Feel free to revert this patch when GCC has a fix. Thank you! --HPS