Project

General

Profile

Actions

Bug #1978

closed

Buildworld fails with WORLD_CCVER=gcc44

Added by herrgard almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hey.

I don't know what commit did this, but it worked last time I tried in november. I'm building master x86_64

make.conf:
WORLD_CCVER=gcc44
NO_WERROR=yes

cc -O -pipe -march=athlon64 -I/usr/obj/usr/src/world_x86_64/usr/src/gnu/usr.bin/cc41/libbackend//../cc_prep -I/usr/src/gnu/usr.bin/cc41/libbackend//../cc_prep -I/usr/src/gnu/usr.bin/cc41/libbackend//../cc_prep/config -I/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc -I/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/config -I/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/include -I/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/libcpp/include -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\" -DPREFIX2=\"/usr\" -I/usr/obj/usr/src/world_x86_64/usr/src/gnu/usr.bin/cc41/libbackend//../cc_tools/gen -I/usr/src/gnu/usr.bin/cc41/libbackend/../config -I. -DTARGET_NAME=\"x86_64-pc-dragonflybsd\" -std=gnu99 -c /usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/toplev.c -o toplev.o
/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/gnu/usr.bin.
  • Error code 1
Stop in /usr/src/gnu.
  • Error code 1
Stop in /usr/src.
  • Error code 1
Actions #1

Updated by herrgard almost 14 years ago

Also happens with

WORLD_CCVER?=gcc44
CCVER=gcc44
CCVER?=gcc44

Actions #2

Updated by herrgard almost 14 years ago

Fixed with commit c50f05d240ae32e508f742e1458397340483af0c "Build our GCCs with
CSTD=gnu89.".

Actions

Also available in: Atom PDF