Project

General

Profile

Bug #2855

buildworld failed on fresh installed dragonfly bsd

Added by baggiokwok2 about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Build
Target version:
Start date:
11/29/2015
Due date:
% Done:

0%

Estimated time:

Description

===> gnu/usr.bin/cc50/support-libs/libcommon
c++ -march=native -mtune=native -O2 -s -pipe --param=ssp-buffer-size=4 -c /usr/src/gnu/usr.bin/cc50/support-libs/libcommon/../../../../
../contrib/gcc-5.0/gcc/diagnostic.c -o diagnostic.o
/usr/src/gnu/usr.bin/cc50/support-libs/libcommon/../../../../../contrib/gcc-5.0/gcc/diagnostic.c:25:20: fatal error: config.h: No such f
ile or directory
compilation terminated.
*** Error code 1

Stop.
make[5]: stopped in /usr/src/gnu/usr.bin/cc50/support-libs/libcommon
*** Error code 1

Stop.
make[4]: stopped in /usr/src/gnu/usr.bin/cc50/support-libs
*** Error code 1

Stop.
make[3]: stopped in /usr/src/gnu/usr.bin/cc50
===> gnu/usr.bin/cc50/cc_prep
===> gnu/usr.bin/cc50/cc_tools
===> gnu/usr.bin/cc50/cc_tools/libcpp
===> gnu/usr.bin/cc50/cc_tools/libiberty
===> gnu/usr.bin/cc50/cc_tools/tools
===> gnu/usr.bin/cc50/support-libs
===> gnu/usr.bin/cc50/support-libs/libbacktrace
===> gnu/usr.bin/cc50/support-libs/libcommon
===> gnu/usr.bin/cc50/support-libs/libcommon-target
===> gnu/usr.bin/cc50/support-libs/libcpp
===> gnu/usr.bin/cc50/support-libs/libdecnumber
===> gnu/usr.bin/cc50/support-libs/libiberty
===> gnu/usr.bin/cc50/support-libs/libiberty-pic
===> gnu/usr.bin/cc50/support-libs/liblto_plugin
sh /usr/src/tools/install.

History

#1

Updated by baggiokwok about 4 years ago

To simulate this, just do the following
1. cd /usr to a fresh installed system.
2. make src-create
3. cd src
4. make buildworld

and this error occurs. It's the gcc5.0 part.
I have 4 machines running Dragonfly bsd and they all can't buildworld

#2

Updated by marino about 4 years ago

post the contents of /etc/make.conf

#3

Updated by baggiokwok about 4 years ago

marino wrote:
> post the contents of /etc/make.conf

STRIP= -s
CFLAGS= -march=native -mtune=native -O2 -s -pipe --param=ssp-buffer-size=4
CXXFLAGS= -march=native -mtune=native -O2 -s -pipe --param=ssp-buffer-size=4
FORCE_MAKE_JOBS=yes
MAKE_OPTS="-j6"
MAKE_JOBS_NUMBER=6
KERNCONF=MYKERNEL
NO_ALTCOMPILER=true

Thank you

#4

Updated by marino about 4 years ago

remove everything except:

MAKE_JOBS_NUMBER=6
KERNCONF=MYKERNEL
NO_ALTCOMPILER=true

Modifying make.conf that this is a major issue. You should have mentioned this at the beginning -- even better, you should have commented it out before posting a bug report because clearly it's a local issue. (I can ensure you everyone else is building dragonfly from source without issues)

FYI, dragonfly builds stripped by default.

#5

Updated by marino about 4 years ago

  • Status changed from New to Closed

no feedback in almost 3 weeks so assume this is no longer an issue.

Also available in: Atom PDF