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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to