On Fri, Jun 08, 2012 at 05:53:45PM +0900, OBATA Akio wrote:
On Fri, 08 Jun 2012 17:40:35 +0900, OBATA Akio <obache%netbsd.org@localhost>
wrote:
>maybe, not related problem (on NetBSD-5.1.2)
>
>I'm trying to add the hack to x11/libFS/Makefile, then configure & build will
be finished,
>but followings will be risen the end of build:
>
>ld: warning: cannot find entry symbol rrwarn=E_BAD_PTR_INT_COMBINATION;
defaulting to 08048680
How about followings?
Index: mk/wrapper/transform-gcc
===================================================================
RCS file: /cvsroot/pkgsrc/mk/wrapper/transform-gcc,v
retrieving revision 1.26
diff -u -r1.26 transform-gcc
--- mk/wrapper/transform-gcc 7 Mar 2012 12:55:53 -0000 1.26
+++ mk/wrapper/transform-gcc 8 Jun 2012 08:51:27 -0000
@@ -146,6 +146,10 @@
-mt ) transform_to "-threads" ;;
-64 ) transform_to "-m64" ;;
+# Ignore SunPRO flags.
+-errwarn=* |\
+-errwarn ) transform_discard_with_warning ;;
+
# Unknown options.
-* ) transform_pass_with_warning ;;
Fine with me. Do you need that in addition to including hacks.mk or does it
replace hacks.mk?