Bug #1962

buildworld failure in gcc libbackend

Added by vsrinivas almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

===> gnu/usr.bin/cc41/libbackend
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/toplev.c:524:
error: redefinition of 'floor_log2'
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/toplev.h:175:
note: previous definition of 'floor_log2' was here
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/toplev.c:559:
error: redefinition of 'exact_log2'
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/toplev.h:181:
note: previous definition of 'exact_log2' was here
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc41/libbackend.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc41.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
challenger#

Latest from master, running buildworld.

History

#1 Updated by swildner almost 4 years ago

I think you set CCVER=gcc44 in the environment, which makes cc, gcc,
c++, etc. always use gcc44 and ignore the CCVER overrides we have for
some things in our Makefiles.

For build* targets you need to set it as a make(1) variable, for example
in your make.conf or on the make commmand line.

Sascha

Also available in: Atom PDF