[RTEMS Project] #4127: x86_64/amd64 fails to build
RTEMS trac
trac at rtems.org
Wed Oct 7 13:36:06 UTC 2020
#4127: x86_64/amd64 fails to build
----------------------------+-----------------------------
Reporter: Joel Sherrill | Owner: Sebastian Huber
Type: defect | Status: assigned
Priority: normal | Milestone: 6.1
Component: test | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
----------------------------+-----------------------------
This is with waf and autoconf on master.
Short versions of failing configurations:
{{{
FAILED (2) autoconf build of x86_64 amd64 (NOSMP/NOMP/DEBUG/PROFILE)
FAILED (1) waf build of x86_64 amd64 (NOSMP/NOMP/DEBUG/PROFILE)
FAILED (2) autoconf build of x86_64 amd64 (NOSMP/NOMP/DEBUG/NOPROFILE)
FAILED (1) waf build of x86_64 amd64 (NOSMP/NOMP/DEBUG/NOPROFILE)
}}}
This is the error:
{{{
In file included from ../../../testsuites/libtests/termios11/init.c:2:
../../../testsuites/libtests/termios11/../termios10/termios10impl.h: In
function 'POSIX_Init':
../../../testsuites/libtests/termios11/../termios10/termios10impl.h:171:1:
error: no return statement in function returning non-void [-Werror=return-
type]
171 | }
| ^
cc1: some warnings being treated as errors
In file included from ../../../testsuites/libtests/termios10/init.c:1:
../../../testsuites/libtests/termios10/termios10impl.h: In function
'POSIX_Init':
../../../testsuites/libtests/termios10/termios10impl.h:171:1: error: no
return statement in function returning non-void [-Werror=return-type]
171 | }
| ^
}}}
This is the waf ini file for this specific build:
{{{
[x86_64/amd64]
# Selects the compiler used to build the BSP (allowed values are "gcc" and
# "clang"). Please note that the values of some options depend on the
compiler
# selection and changing the compiler may lead to unpredictable behaviour
if
# these options are not adjusted as well. Use the --rtems-compiler
command line
# option to get the default values for a particular compiler via
# ./waf bsp_defaults.
COMPILER = gcc
# Flags passed to the library archiver
ARFLAGS = crD
# Warning flags passed to the C and C++ compiler
WARNING_FLAGS = -Wall
# Warning flags passed to the C compiler
CC_WARNING_FLAGS = -Wmissing-prototypes -Wimplicit-function-declaration
-Wstrict-prototypes -Wnested-externs
# Warning flags passed to the C++ compiler
CXX_WARNING_FLAGS =
# Enable the Ada support
__RTEMS_ADA__ = False
# Enable the RTEMS internal debug support
RTEMS_DEBUG = True
# Enable the Driver Manager startup
RTEMS_DRVMGR_STARTUP = False
# Enable the legacy TCP/IP network support
RTEMS_NETWORKING = False
# Enable the Newlib C library support
RTEMS_NEWLIB = True
# Enable the para-virtualization support
RTEMS_PARAVIRT = False
# Enable support for POSIX signals
RTEMS_POSIX_API = True
# Enable the SMP lock profiling support
RTEMS_PROFILING = False
# Build the Ada test programs (may be also enabled by BUILD_TESTS)
BUILD_ADATESTS = False
# Build the test programs
BUILD_TESTS = True
# Build the benchmark programs (may be also enabled by BUILD_TESTS)
BUILD_BENCHMARKS = False
# Build the file system test programs (may be also enabled by
# BUILD_TESTS)
BUILD_FSTESTS = False
# Build the library test programs (may be also enabled by BUILD_TESTS)
BUILD_LIBTESTS = False
# Build the MPCI test programs (may be also enabled by BUILD_TESTS)
BUILD_MPTESTS = False
# Build the POSIX test programs (may be also enabled by BUILD_TESTS)
BUILD_PSXTESTS = False
# Build the POSIX timing test programs (may be also enabled by
# BUILD_TESTS)
BUILD_PSXTMTESTS = False
# Build the Rhealstone benchmark programs (may be also enabled by
# BUILD_TESTS)
BUILD_RHEALSTONE = False
# Build the sample programs (may be also enabled by BUILD_TESTS)
BUILD_SAMPLES = True
# Build the SMP test programs (may be also enabled by BUILD_TESTS)
BUILD_SMPTESTS = False
# Build the single-processor test programs (may be also enabled by
# BUILD_TESTS)
BUILD_SPTESTS = False
# Build the timing test programs (may be also enabled by BUILD_TESTS)
BUILD_TMTESTS = False
# Build the validation test programs (may be also enabled by
# BUILD_TESTS)
BUILD_VALIDATIONTESTS = False
# Sets the test verbosity of the RTEMS Test Framework. Valid values
# are "Verbose", "Normal", and "Quiet". For normal test runs you can
# use a verbosity of "Normal". If you need a more detailed output,
# then you can set it to "Verbose". For example, in case a regression
# ocurred. Reducing the verbosity level can significantly reduce the
# test duration especially on targets with a slow serial output
# device. All verbosity levels produce enough output to notice failed
# test cases. In particular, the begin and end of test information is
# not affected by the verbosity level.
RTEMS_TEST_VERBOSITY = Normal
# Optimization flags passed to the C and C++ compiler
OPTIMIZATION_FLAGS = -O2 -g -fdata-sections -ffunction-sections
# ABI flags
ABI_FLAGS = -mno-red-zone -mcmodel=large -Werror=return-type
# If defined to a non-zero value, prints the some information in case
# of a fatal error.
BSP_VERBOSE_FATAL_EXTENSION = 1
# Flags passed to the linker (GNU ld)
LDFLAGS = -Wl,--gc-sections
# Install the legacy application Makefile framework.
INSTALL_LEGACY_MAKEFILES = True
# If defined to a non-zero value, prints the exception context when an
# unexpected exception occurs.
BSP_PRINT_EXCEPTION_CONTEXT = 1
# If defined to a non-zero value, reset the board when the application
# exits.
BSP_RESET_BOARD_AT_EXIT = 1
# If defined to a non-zero value, print a message and wait until
# pressed before resetting board when application exits.
BSP_PRESS_KEY_FOR_RESET = 0
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4127>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list