http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47123

           Summary: *freebsd cofigurations configure, but don't build
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: amyl...@gcc.gnu.org
            Blocks: 47093
              Host: x86_64-pc-linux-gnu
            Target: *freebsd


Freebsd configurations without a major OS version number, e.g. alpha-freebsd,
configure, but fail to build because FBSD_MAJOR is not defined:

In file included from ./tm.h:20:0,
                 from ../../../gcc/gcc/genflags.c:27:
../../../gcc/gcc/config/freebsd-spec.h:109:16: error: operator '<' has no left
operand
../../../gcc/gcc/config/freebsd-spec.h:128:16: error: operator '<' has no left
operand
make[1]: *** [build/genflags.o] Error 1
make[1]: Leaving directory
`/home/amylaar/pr46489/dec25/multi-mk2/alpha-freebsd/gcc'

If this configuration is not supposed to work, it would be preferable to
reject it at configure time.

Reply via email to