gcc-4.5 and 4.6 needs to be recompiled due to /usr/src/UPDATE:
inyaoo at gmail.com
Thu Jun 9 23:01:20 UTC 2011
"Hartmann, O." <ohartman at zedat.fu-berlin.de> writes:
> Since the notice mentioned in /usr/src/UPDATE (20110608) both gcc-4.5
> and 4.6 seems to need to be recompiled. I tried some ports with
> "USE_FORTRAN= yes" setand they failed as with gcc-4.6. There was
> always an error reporting: undefined reference to __cpumask_t or
Do you mean stale typedef in gcc's private copy under
You can fix the file manually instead of wasting cpu cycles.
$ gcc46 foo.c
In file included from /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.1/include-fixed/unistd.h:46:0,
/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.1/include-fixed/sys/types.h:111:1: error: unknown type name '__cpumask_t'
$ sed -n 111p /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.1/include-fixed/sys/types.h
typedef __cpumask_t cpumask_t;
More information about the freebsd-ports