svn commit: r268055 - head/sys/sys

Hans Petter Selasky hps at selasky.org
Mon Jun 30 18:16:44 UTC 2014


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


More information about the svn-src-head mailing list