About the GCC 4.2 update
Marcel Moolenaar
xcllnt at mac.com
Thu Oct 11 13:18:15 PDT 2007
On Oct 11, 2007, at 11:26 AM, Randy Bush wrote:
>> So, if you track -CURRENT and want to upgrade to beyond the GCC 4.2
>> import, make sure you keep backups or you'll be sorry...
>
> hmmm. is this why i am having problems with sept snapshot iso?
> # gcc --version
> gcc (GCC) 4.2.1 20070719 [FreeBSD]
>
> cc -c -O2 -fno-strict-aliasing -pipe -march=itanium2 -DIN_GCC
> -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT
> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include
> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.
> -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -
> fvisibility=hidden
> -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o
> unwind-dw2.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c
> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1: error:
> bad
> value (itanium2) for -march= switch
> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1: error:
> bad
> value (itanium2) for -mtune= switch
> *** Error code 1
There's no -march option for ia64. There's only -mtune.
Valid values for -mtune are itanium and itanium2.
FYI,
--
Marcel Moolenaar
xcllnt at mac.com
More information about the freebsd-ia64
mailing list