Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 20:17:00 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r268055 - head/sys/sys
Message-ID:  <53B1A99C.5020607@selasky.org>
In-Reply-To: <201406301811.s5UIBMxh036571@svn.freebsd.org>
References:  <201406301811.s5UIBMxh036571@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53B1A99C.5020607>