Skip to content

gcc make exits with no warnings #24

@natedogs911

Description

@natedogs911

Hello,

i'm running buildall.sh
and it appears on wrap make -j... when building gcc 4.9.2 that everything seems to max out for several minutes then the process will exit with status 2.
-j is getting 4 as the BUILD_THREADS.
Again, there is no error message it simply stops running. i've tried adding other flags to make but i get no output whatsoever.

it should be said that I'm running inside of a docker container on debian 9.

EDIT
i'm not sure why i didn't try this before, but i ran make from the build directory without the aid of the build scripts:

In file included from ./tm.h:27:0,
                 from ../../gcc-4.9.2/gcc/cp/except.c:27:
../../gcc-4.9.2/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
                     ^
../../gcc-4.9.2/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",  \
                        ^
In file included from ./tm.h:45:0,
                 from ../../gcc-4.9.2/gcc/cp/except.c:27:
../../gcc-4.9.2/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",  \
                        ^
In file included from ../../gcc-4.9.2/gcc/cp/except.c:1013:0:
cfns.gperf: In function ‘const char* libc_name_p(const char*, unsigned int)’:
cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute
cfns.gperf:26:14: note: ‘const char* libc_name_p(const char*, unsigned int)’ previously declared here
cfns.gperf: At global scope:
cfns.gperf:26:14: warning: inline function ‘const char* libc_name_p(const char*, unsigned int)’ used but never defined
Makefile:1058: recipe for target 'cp/except.o' failed
make[3]: *** [cp/except.o] Error 1
make[3]: Leaving directory '/impala/native-toolchain/source/gcc/build-4.9.2/gcc'
Makefile:4233: recipe for target 'all-stage1-gcc' failed
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory '/impala/native-toolchain/source/gcc/build-4.9.2'
Makefile:22967: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/impala/native-toolchain/source/gcc/build-4.9.2'
Makefile:900: recipe for target 'all' failed
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions