"Hartmann, O." <[email protected]> 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
> similar.

Do you mean stale typedef in gcc's private copy under
  PREFIX/lib/gccXY/gcc/*/*/include-fixed/sys/types.h ?

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,
                   from foo.c:1:
  
/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'
  Exit 1

  $ 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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"

Reply via email to