Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to build without errors after using template #1

Open
3 of 5 tasks
Ragiton opened this issue Aug 4, 2022 · 9 comments
Open
3 of 5 tasks

unable to build without errors after using template #1

Ragiton opened this issue Aug 4, 2022 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@Ragiton
Copy link

Ragiton commented Aug 4, 2022

I'm still learning. This might not be the right place to talk about this since it looks like its a meson build system issue.

Let me know I should post this somewhere else :)

Expected Behavior

successful build with no errors using "make" command

Current Behavior

Sandbox violation error with libcpp subproject

subprojects/libcpp/include/c++/meson.build:24:0: ERROR: Sandbox violation: Tried to grab file __libcpp_config_site outside current (sub)project.

Context

  1. forked this template
  2. used the template to create a new repo
  3. tried installing the dependencies following the website here https://embeddedartistry.com/fieldatlas/embedded-artistrys-standardized-meson-build-system/
  4. ended up running tools/install_deps.sh without any flags
  5. ran tools/setup_env.sh

I think I have all the dependencies installed. I'm still trying to learn Meson and the build system you have put together. Any guidance on how to hunt this issue down would be appreciated.

  • Project Version:
  • Operating System: Windows using WSL2
  • Toolchain:
  • Toolchain version:

Checklist

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

not sure...

  • I have provided sufficient information for the team

please let me know

@Ragiton Ragiton added the bug Something isn't working label Aug 4, 2022
@phillipjohnston
Copy link
Contributor

phillipjohnston commented Aug 4, 2022 via email

@Ragiton
Copy link
Author

Ragiton commented Aug 5, 2022

I ran into the same error after cloning the embvm-core repo and running make.

looks like you had an issue posted on the embvm-core repo regarding templates. embvm/embvm-core#1 (comment)

Good to know this is all experimental. It looks like a very cool idea!

I'm trying to learn as much as I can as fast as I can.
I started by trying to grab this and get it working so I could learn as I go by playing with it on some simple projects.

Is this a bad idea?
Is embvm in a state where it can be used on projects or is it still a WIP?

Thanks,
JP

@eli-schwartz
Copy link

I will look into this. I may have missed a key update with the template, or maybe I’m behind with Meson changes.

https://github.com/embeddedartistry/libcpp/blob/3d809a75669f3f3600a57ac2ab30f71591338bfb/include/c%2B%2B/meson.build#L12-L27

config_site_header = configure_file(
	input: '__libcxx_config_site.in',
	output: '__libcpp_config_site',
	configuration: libcxx_conf_data,
)

config_header = configure_file(
	input: '__config.in',
	output: '__config',
	copy: true
)

libcpp_config_headers = files(
  meson.current_build_dir() + '/__libcpp_config_site',
  meson.current_build_dir() + '/__config',
)

This seems wrong, I think you just want:

libcpp_config_headers = [config_site_header, config_header]

@phillipjohnston
Copy link
Contributor

@eli-schwartz yeah, I am not sure what I was thinking. I like your version, but I get a ninja: error: dependency cycle: include/c++/__config -> include/c++/__config. I'll keep poking at that angle.

@Ragiton what is your Meson version? I tried with 0.58.1 and 0.63.0 and it works ok.

@phillipjohnston
Copy link
Contributor

Ah, that dependency error is because I have a configure file named __config that is dependent on __config being generated. That will get cleaned up and merged in.

@eli-schwartz
Copy link

Oh good, it found something that was a bug anyway. :D

As for why it worked for you and not for the OP, Meson's sanity checking may not notice you using manually constructed string filepaths in the build directory (instead of return values of the functions that create them) when your build directory is not a subdirectory of the source directory. e.g.

~/code/embvm-project-skeleton/
~/code/builddir-embvm-project-skeleton/

vs.

~/code/embvm-project-skeleton/
~/code/embvm-project-skeleton/builddir/

@phillipjohnston
Copy link
Contributor

@Ragiton I have made Eli's suggested change to libcpp, you can update the subproject and then give it another try.

@Ragiton
Copy link
Author

Ragiton commented Aug 5, 2022

@phillipjohnston On a clean clone of embvm-core I got a lot further but it looks like its failing during the compilation step now.

I'm using meson version 0.63.0
I tried downgrading to 0.58.1 and it got stuck on the libmemory subproject

I think I'm going to have to come back to this another time when I have a better understanding of Meson and this build setup.

Here is the output I got from running make in case it helps:

ragiton:embvm-core$ make
The Meson build system
Version: 0.63.0
Source dir: /home/ragiton/test_embvm-core/embvm-core
Build dir: /home/ragiton/test_embvm-core/embvm-core/buildresults
Build type: native build
Project name: embvm-core
Project version: 0.9
C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C linker for the host machine: cc ld.bfd 2.34
C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Message: Building embvm with RTTI disabled.
Message: Building embvm with exceptions disabled.
Compiler for C supports arguments -fdiagnostics-show-option: YES 
Compiler for C supports arguments -fcolor-diagnostics: NO 
Compiler for C supports arguments -ffunction-sections: YES 
Compiler for C supports arguments -fdata-sections: YES 
Compiler for C supports arguments -fdevirtualize: YES 
Compiler for C supports arguments -Wno-unknown-pragmas: YES 
Compiler for C supports arguments -Wno-c++98-compat: NO 
Compiler for C supports arguments -Wno-c++98-compat-pedantic: NO 
Compiler for C supports arguments -Wno-padded: YES 
Compiler for C supports arguments -Wno-exit-time-destructors: NO 
Compiler for C supports arguments -Wno-global-constructors: NO 
Compiler for C supports arguments -Wno-covered-switch-default: NO 
Compiler for C supports arguments -Wfloat-equal: YES 
Compiler for C supports arguments -Wconversion: YES 
Compiler for C supports arguments -Wlogical-op: YES 
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -Wredundant-decls: YES 
Compiler for C supports arguments -Wshadow: YES 
Compiler for C supports arguments -Wstrict-overflow=2: YES 
Compiler for C supports arguments -Wwrite-strings: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wcast-qual: YES 
Compiler for C supports arguments -Wformat=2: YES 
Compiler for C supports arguments -Wformat-truncation: YES 
Compiler for C supports arguments -Wmissing-include-dirs: YES 
Compiler for C supports arguments -Wcast-align: YES 
Compiler for C supports arguments -Wswitch-enum: YES 
Compiler for C supports arguments -Wsign-conversion: YES 
Compiler for C supports arguments -Wdisabled-optimization: YES 
Compiler for C supports arguments -Winvalid-pch: YES 
Compiler for C supports arguments -Wmissing-declarations: YES 
Compiler for C supports arguments -Wdouble-promotion: YES 
Compiler for C supports arguments -Wshadow: YES (cached)
Compiler for C supports arguments -Wtrampolines: YES 
Compiler for C supports arguments -Wvector-operation-performance: YES 
Compiler for C supports arguments -Wshift-overflow=2: YES 
Compiler for C supports arguments -Wnull-dereference: YES 
Compiler for C supports arguments -Wduplicated-cond: YES 
Compiler for C supports arguments -Wshift-overflow=2: YES (cached)
Compiler for C supports arguments -Wnull-dereference: YES (cached)
Compiler for C supports arguments -Wduplicated-cond: YES (cached)
Compiler for C supports arguments -Wcast-align=strict: YES 
Compiler for C supports arguments -fno-builtin: YES 
Compiler for C supports arguments -Wno-pedantic: YES 
Compiler for C supports arguments -Wno-unused-command-line-argument: NO 
Compiler for C supports arguments -fdiagnostics-show-option: YES (cached)
Compiler for C supports arguments -fcolor-diagnostics: NO (cached)
Compiler for C supports arguments -ffunction-sections: YES (cached)
Compiler for C supports arguments -fdata-sections: YES (cached)
Compiler for C supports arguments -fdevirtualize: YES (cached)
Compiler for C supports arguments -Wno-unknown-pragmas: YES (cached)
Compiler for C supports arguments -Wno-c++98-compat: NO (cached)
Compiler for C supports arguments -Wno-c++98-compat-pedantic: NO (cached)
Compiler for C supports arguments -Wno-padded: YES (cached)
Compiler for C supports arguments -Wno-exit-time-destructors: NO (cached)
Compiler for C supports arguments -Wno-global-constructors: NO (cached)
Compiler for C supports arguments -Wno-covered-switch-default: NO (cached)
Compiler for C supports arguments -Wfloat-equal: YES (cached)
Compiler for C supports arguments -Wconversion: YES (cached)
Compiler for C supports arguments -Wlogical-op: YES (cached)
Compiler for C supports arguments -Wundef: YES (cached)
Compiler for C supports arguments -Wredundant-decls: YES (cached)
Compiler for C supports arguments -Wshadow: YES (cached)
Compiler for C supports arguments -Wstrict-overflow=2: YES (cached)
Compiler for C supports arguments -Wwrite-strings: YES (cached)
Compiler for C supports arguments -Wpointer-arith: YES (cached)
Compiler for C supports arguments -Wcast-qual: YES (cached)
Compiler for C supports arguments -Wformat=2: YES (cached)
Compiler for C supports arguments -Wformat-truncation: YES (cached)
Compiler for C supports arguments -Wmissing-include-dirs: YES (cached)
Compiler for C supports arguments -Wcast-align: YES (cached)
Compiler for C supports arguments -Wswitch-enum: YES (cached)
Compiler for C supports arguments -Wsign-conversion: YES (cached)
Compiler for C supports arguments -Wdisabled-optimization: YES (cached)
Compiler for C supports arguments -Winvalid-pch: YES (cached)
Compiler for C supports arguments -Wmissing-declarations: YES (cached)
Compiler for C supports arguments -Wdouble-promotion: YES (cached)
Compiler for C supports arguments -Wshadow: YES (cached)
Compiler for C supports arguments -Wtrampolines: YES (cached)
Compiler for C supports arguments -Wvector-operation-performance: YES (cached)
Compiler for C supports arguments -Wshift-overflow=2: YES (cached)
Compiler for C supports arguments -Wnull-dereference: YES (cached)
Compiler for C supports arguments -Wduplicated-cond: YES (cached)
Compiler for C supports arguments -Wshift-overflow=2: YES (cached)
Compiler for C supports arguments -Wnull-dereference: YES (cached)
Compiler for C supports arguments -Wduplicated-cond: YES (cached)
Compiler for C supports arguments -Wcast-align=strict: YES (cached)
Compiler for C supports arguments -fno-builtin: YES (cached)
Compiler for C supports arguments -Wno-pedantic: YES (cached)
Compiler for C supports arguments -Wno-unused-command-line-argument: NO (cached)
Compiler for C++ supports arguments -Wold-style-cast: YES 
Compiler for C++ supports arguments -Wnon-virtual-dtor: YES 
Compiler for C++ supports arguments -Wctor-dtor-privacy: YES 
Compiler for C++ supports arguments -Woverloaded-virtual: YES 
Compiler for C++ supports arguments -Wnoexcept: YES 
Compiler for C++ supports arguments -Wstrict-null-sentinel: YES 
Compiler for C++ supports arguments -Wuseless-cast: YES 
Compiler for C++ supports arguments -Wzero-as-null-pointer-constant: YES 
Compiler for C++ supports arguments -Wextra-semi: YES 
Compiler for C++ supports arguments -fno-rtti: YES 
Compiler for C++ supports arguments -fno-exceptions: YES 
Compiler for C++ supports arguments -fno-unwind-tables: YES 
Compiler for C++ supports arguments -fdiagnostics-show-option: YES 
Compiler for C++ supports arguments -fcolor-diagnostics: NO 
Compiler for C++ supports arguments -ffunction-sections: YES 
Compiler for C++ supports arguments -fdata-sections: YES 
Compiler for C++ supports arguments -fdevirtualize: YES 
Compiler for C++ supports arguments -Wno-unknown-pragmas: YES 
Compiler for C++ supports arguments -Wno-c++98-compat: NO 
Compiler for C++ supports arguments -Wno-c++98-compat-pedantic: NO 
Compiler for C++ supports arguments -Wno-padded: YES 
Compiler for C++ supports arguments -Wno-exit-time-destructors: NO 
Compiler for C++ supports arguments -Wno-global-constructors: NO 
Compiler for C++ supports arguments -Wno-covered-switch-default: NO 
Compiler for C++ supports arguments -Wfloat-equal: YES 
Compiler for C++ supports arguments -Wconversion: YES 
Compiler for C++ supports arguments -Wlogical-op: YES 
Compiler for C++ supports arguments -Wundef: YES 
Compiler for C++ supports arguments -Wredundant-decls: YES 
Compiler for C++ supports arguments -Wshadow: YES 
Compiler for C++ supports arguments -Wstrict-overflow=2: YES 
Compiler for C++ supports arguments -Wwrite-strings: YES 
Compiler for C++ supports arguments -Wpointer-arith: YES 
Compiler for C++ supports arguments -Wcast-qual: YES 
Compiler for C++ supports arguments -Wformat=2: YES 
Compiler for C++ supports arguments -Wformat-truncation: YES 
Compiler for C++ supports arguments -Wmissing-include-dirs: YES 
Compiler for C++ supports arguments -Wcast-align: YES 
Compiler for C++ supports arguments -Wswitch-enum: YES 
Compiler for C++ supports arguments -Wsign-conversion: YES 
Compiler for C++ supports arguments -Wdisabled-optimization: YES 
Compiler for C++ supports arguments -Winvalid-pch: YES 
Compiler for C++ supports arguments -Wmissing-declarations: YES 
Compiler for C++ supports arguments -Wdouble-promotion: YES 
Compiler for C++ supports arguments -Wshadow: YES (cached)
Compiler for C++ supports arguments -Wtrampolines: YES 
Compiler for C++ supports arguments -Wvector-operation-performance: YES 
Compiler for C++ supports arguments -Wshift-overflow=2: YES 
Compiler for C++ supports arguments -Wnull-dereference: YES 
Compiler for C++ supports arguments -Wduplicated-cond: YES 
Compiler for C++ supports arguments -Wshift-overflow=2: YES (cached)
Compiler for C++ supports arguments -Wnull-dereference: YES (cached)
Compiler for C++ supports arguments -Wduplicated-cond: YES (cached)
Compiler for C++ supports arguments -Wcast-align=strict: YES 
Compiler for C++ supports arguments -fno-builtin: YES 
Compiler for C++ supports arguments -Wno-pedantic: YES 
Compiler for C++ supports arguments -Wno-unused-command-line-argument: NO 
Compiler for C++ supports arguments -Wold-style-cast: YES (cached)
Compiler for C++ supports arguments -Wnon-virtual-dtor: YES (cached)
Compiler for C++ supports arguments -Wctor-dtor-privacy: YES (cached)
Compiler for C++ supports arguments -Woverloaded-virtual: YES (cached)
Compiler for C++ supports arguments -Wnoexcept: YES (cached)
Compiler for C++ supports arguments -Wstrict-null-sentinel: YES (cached)
Compiler for C++ supports arguments -Wuseless-cast: YES (cached)
Compiler for C++ supports arguments -Wzero-as-null-pointer-constant: YES (cached)
Compiler for C++ supports arguments -Wextra-semi: YES (cached)
Compiler for C++ supports arguments -fno-rtti: YES (cached)
Compiler for C++ supports arguments -fno-exceptions: YES (cached)
Compiler for C++ supports arguments -fno-unwind-tables: YES (cached)
Compiler for C++ supports arguments -fdiagnostics-show-option: YES (cached)
Compiler for C++ supports arguments -fcolor-diagnostics: NO (cached)
Compiler for C++ supports arguments -ffunction-sections: YES (cached)
Compiler for C++ supports arguments -fdata-sections: YES (cached)
Compiler for C++ supports arguments -fdevirtualize: YES (cached)
Compiler for C++ supports arguments -Wno-unknown-pragmas: YES (cached)
Compiler for C++ supports arguments -Wno-c++98-compat: NO (cached)
Compiler for C++ supports arguments -Wno-c++98-compat-pedantic: NO (cached)
Compiler for C++ supports arguments -Wno-padded: YES (cached)
Compiler for C++ supports arguments -Wno-exit-time-destructors: NO (cached)
Compiler for C++ supports arguments -Wno-global-constructors: NO (cached)
Compiler for C++ supports arguments -Wno-covered-switch-default: NO (cached)
Compiler for C++ supports arguments -Wfloat-equal: YES (cached)
Compiler for C++ supports arguments -Wconversion: YES (cached)
Compiler for C++ supports arguments -Wlogical-op: YES (cached)
Compiler for C++ supports arguments -Wundef: YES (cached)
Compiler for C++ supports arguments -Wredundant-decls: YES (cached)
Compiler for C++ supports arguments -Wshadow: YES (cached)
Compiler for C++ supports arguments -Wstrict-overflow=2: YES (cached)
Compiler for C++ supports arguments -Wwrite-strings: YES (cached)
Compiler for C++ supports arguments -Wpointer-arith: YES (cached)
Compiler for C++ supports arguments -Wcast-qual: YES (cached)
Compiler for C++ supports arguments -Wformat=2: YES (cached)
Compiler for C++ supports arguments -Wformat-truncation: YES (cached)
Compiler for C++ supports arguments -Wmissing-include-dirs: YES (cached)
Compiler for C++ supports arguments -Wcast-align: YES (cached)
Compiler for C++ supports arguments -Wswitch-enum: YES (cached)
Compiler for C++ supports arguments -Wsign-conversion: YES (cached)
Compiler for C++ supports arguments -Wdisabled-optimization: YES (cached)
Compiler for C++ supports arguments -Winvalid-pch: YES (cached)
Compiler for C++ supports arguments -Wmissing-declarations: YES (cached)
Compiler for C++ supports arguments -Wdouble-promotion: YES (cached)
Compiler for C++ supports arguments -Wshadow: YES (cached)
Compiler for C++ supports arguments -Wtrampolines: YES (cached)
Compiler for C++ supports arguments -Wvector-operation-performance: YES (cached)
Compiler for C++ supports arguments -Wshift-overflow=2: YES (cached)
Compiler for C++ supports arguments -Wnull-dereference: YES (cached)
Compiler for C++ supports arguments -Wduplicated-cond: YES (cached)
Compiler for C++ supports arguments -Wshift-overflow=2: YES (cached)
Compiler for C++ supports arguments -Wnull-dereference: YES (cached)
Compiler for C++ supports arguments -Wduplicated-cond: YES (cached)
Compiler for C++ supports arguments -Wcast-align=strict: YES (cached)
Compiler for C++ supports arguments -fno-builtin: YES (cached)
Compiler for C++ supports arguments -Wno-pedantic: YES (cached)
Compiler for C++ supports arguments -Wno-unused-command-line-argument: NO (cached)
Compiler for C supports link arguments -Wl,-dead_strip: NO 
Compiler for C supports link arguments -Wl,--gc-sections: YES 
Compiler for C supports link arguments -Wl,-dead_strip: NO (cached)
Compiler for C supports link arguments -Wl,--gc-sections: YES (cached)
Compiler for C++ supports link arguments -Wl,-dead_strip: NO 
Compiler for C++ supports link arguments -Wl,--gc-sections: YES 
Compiler for C++ supports link arguments -Wl,-dead_strip: NO (cached)
Compiler for C++ supports link arguments -Wl,--gc-sections: YES (cached)
Compiler for C supports link arguments -Wl,-map,test.map: NO 
Compiler for C supports link arguments -Wl,-Map,test.map: YES 
Compiler for C supports link arguments -Wl,-Map,test.map: YES (cached)
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Build-time dependency cmocka found: YES 1.1.5
Has header "cmocka.h" with dependency cmocka: NO 

Executing subproject cmocka 

cmocka| Project name: cmocka
cmocka| Project version: 1.1.5
cmocka| C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
cmocka| C linker for the host machine: cc ld.bfd 2.34
cmocka| Compiler for C supports arguments -Wshadow: YES (cached)
cmocka| Compiler for C supports arguments -Wmissing-prototypes: YES
cmocka| Compiler for C supports arguments -Wcast-align: YES (cached)
cmocka| Compiler for C supports arguments -Werror=address: YES
cmocka| Compiler for C supports arguments -Werror=strict-prototypes: YES
cmocka| Compiler for C supports arguments -Werror=write-strings: YES
cmocka| Compiler for C supports arguments -Werror=implicit-function-declaration: YES
cmocka| Compiler for C supports arguments -Werror=pointer-arith: YES
cmocka| Compiler for C supports arguments -Werror=declaration-after-statement: YES
cmocka| Compiler for C supports arguments -Werror=return-type: YES
cmocka| Compiler for C supports arguments -Werror=uninitialized: YES
cmocka| Compiler for C supports arguments -Wimplicit-fallthrough: YES
cmocka| Compiler for C supports arguments -Werror=strict-overflow: YES
cmocka| Compiler for C supports arguments -Wstrict-overflow=2: YES (cached)
cmocka| Compiler for C supports arguments -Wno-format-zero-length: YES
cmocka| Compiler for C supports arguments -Wformat: YES
cmocka| Compiler for C supports arguments -Werror=format-security: YES
cmocka| Compiler for C supports arguments -Wno-gnu-zero-variadic-macro-arguments: NO
cmocka| Compiler for C supports arguments -fno-common: YES
cmocka| Check usable header "assert.h" : YES
cmocka| Check usable header "inttypes.h" : YES
cmocka| Check usable header "io.h" : NO
cmocka| Check usable header "malloc.h" : YES
cmocka| Check usable header "memory.h" : YES
cmocka| Check usable header "setjmp.h" : YES
cmocka| Check usable header "signal.h" : YES
cmocka| Check usable header "stdarg.h" : YES
cmocka| Check usable header "stddef.h" : YES
cmocka| Check usable header "stdint.h" : YES
cmocka| Check usable header "stdio.h" : YES
cmocka| Check usable header "stdlib.h" : YES
cmocka| Check usable header "string.h" : YES
cmocka| Check usable header "strings.h" : YES
cmocka| Check usable header "sys/stat.h" : YES
cmocka| Check usable header "sys/types.h" : YES
cmocka| Check usable header "time.h" : YES
cmocka| Check usable header "unistd.h" : YES
cmocka| Checking whether type "struct timespec" has member "tv_sec" : YES
cmocka| Checking for function "calloc" : YES
cmocka| Checking for function "exit" : YES
cmocka| Checking for function "fprintf" : YES
cmocka| Checking for function "free" : YES
cmocka| Checking for function "longjmp" : YES
cmocka| Checking for function "siglongjmp" : YES
cmocka| Checking for function "malloc" : YES
cmocka| Checking for function "memcpy" : YES
cmocka| Checking for function "memset" : YES
cmocka| Checking for function "printf" : YES
cmocka| Checking for function "setjmp" : YES
cmocka| Checking for function "signal" : YES
cmocka| Checking for function "strsignal" : YES
cmocka| Checking for function "strcmp" : YES
cmocka| Checking for function "clock_gettime" : YES
cmocka| Checking for function "snprintf" : YES
cmocka| Checking for function "vsnprintf" : YES
cmocka| Checking if "Thread Local Storage" compiles: YES
cmocka| Header "time.h" has symbol "CLOCK_REALTIME" : NO
cmocka| Checking for size of "void *" : 8
cmocka| Configuring config.h using configuration
cmocka| Compiler for C supports arguments -Wshadow: YES (cached)
cmocka| Compiler for C supports arguments -Wmissing-prototypes: YES (cached)
cmocka| Compiler for C supports arguments -Wcast-align: YES (cached)
cmocka| Compiler for C supports arguments -Werror=address: YES (cached)
cmocka| Compiler for C supports arguments -Werror=strict-prototypes: YES (cached)
cmocka| Compiler for C supports arguments -Werror=write-strings: YES (cached)
cmocka| Compiler for C supports arguments -Werror=implicit-function-declaration: YES (cached)
cmocka| Compiler for C supports arguments -Werror=pointer-arith: YES (cached)
cmocka| Compiler for C supports arguments -Werror=declaration-after-statement: YES (cached)
cmocka| Compiler for C supports arguments -Werror=return-type: YES (cached)
cmocka| Compiler for C supports arguments -Werror=uninitialized: YES (cached)
cmocka| Compiler for C supports arguments -Wimplicit-fallthrough: YES (cached)
cmocka| Compiler for C supports arguments -Werror=strict-overflow: YES (cached)
cmocka| Compiler for C supports arguments -Wstrict-overflow=2: YES (cached)
cmocka| Compiler for C supports arguments -Wno-format-zero-length: YES (cached)
cmocka| Compiler for C supports arguments -Wformat: YES (cached)
cmocka| Compiler for C supports arguments -Werror=format-security: YES (cached)
cmocka| Compiler for C supports arguments -Wno-gnu-zero-variadic-macro-arguments: NO (cached)
cmocka| Compiler for C supports arguments -fno-common: YES (cached)
cmocka| Check usable header "assert.h" : YES (cached)
cmocka| Check usable header "inttypes.h" : YES (cached)
cmocka| Check usable header "io.h" : NO (cached)
cmocka| Check usable header "malloc.h" : YES (cached)
cmocka| Check usable header "memory.h" : YES (cached)
cmocka| Check usable header "setjmp.h" : YES (cached)
cmocka| Check usable header "signal.h" : YES (cached)
cmocka| Check usable header "stdarg.h" : YES (cached)
cmocka| Check usable header "stddef.h" : YES (cached)
cmocka| Check usable header "stdint.h" : YES (cached)
cmocka| Check usable header "stdio.h" : YES (cached)
cmocka| Check usable header "stdlib.h" : YES (cached)
cmocka| Check usable header "string.h" : YES (cached)
cmocka| Check usable header "strings.h" : YES (cached)
cmocka| Check usable header "sys/stat.h" : YES (cached)
cmocka| Check usable header "sys/types.h" : YES (cached)
cmocka| Check usable header "time.h" : YES (cached)
cmocka| Check usable header "unistd.h" : YES (cached)
cmocka| Checking whether type "struct timespec" has member "tv_sec" : YES (cached)
cmocka| Checking for function "calloc" : YES (cached)
cmocka| Checking for function "exit" : YES (cached)
cmocka| Checking for function "fprintf" : YES (cached)
cmocka| Checking for function "free" : YES (cached)
cmocka| Checking for function "longjmp" : YES (cached)
cmocka| Checking for function "siglongjmp" : YES (cached)
cmocka| Checking for function "malloc" : YES (cached)
cmocka| Checking for function "memcpy" : YES (cached)
cmocka| Checking for function "memset" : YES (cached)
cmocka| Checking for function "printf" : YES (cached)
cmocka| Checking for function "setjmp" : YES (cached)
cmocka| Checking for function "signal" : YES (cached)
cmocka| Checking for function "strsignal" : YES (cached)
cmocka| Checking for function "strcmp" : YES (cached)
cmocka| Checking for function "clock_gettime" : YES (cached)
cmocka| Checking for function "snprintf" : YES (cached)
cmocka| Checking for function "vsnprintf" : YES (cached)
cmocka| Checking if "Thread Local Storage" compiles: YES (cached)
cmocka| Header "time.h" has symbol "CLOCK_REALTIME" : NO (cached)
cmocka| Checking for size of "void *" : 8
cmocka| Configuring config.h using configuration
cmocka| Build targets in project: 2
cmocka| Subproject cmocka finished.

build/test/cmocka/meson.build:46: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead.
build/test/cmocka/meson.build:60: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead.
Message: Host objcopy program not available, .hex and .bin conversion targets will be disabled.
Message: Native objcopy program not available, .hex and .bin conversion targets will be disabled.

Executing subproject etl 

etl| Project name: PROJECT_NAME
etl| Project version: 20.15.0
etl| C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
etl| C++ linker for the host machine: c++ ld.bfd 2.34
etl| Did not find CMake 'cmake'
etl| Found CMake: NO
etl| Build-time dependency unittest++ found: NO (tried pkgconfig and cmake)
etl| Message: UnitTest++ not found, ETL unit tests will be disabled
etl| Message: UnitTest++ not found, ETL unit tests will be disabled
etl| Build targets in project: 3
etl| Subproject etl finished.


Executing subproject gsl-lite 

gsl-lite| Project name: gsl-lite
gsl-lite| Project version: 0.37.1
gsl-lite| Build targets in project: 3
gsl-lite| Subproject gsl-lite finished.


Executing subproject libmemory 

libmemory| Project name: Embedded Artistry libmemory
libmemory| Project version: 1.0
libmemory| C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
libmemory| C linker for the host machine: cc ld.bfd 2.34
libmemory| C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
libmemory| C++ linker for the host machine: c++ ld.bfd 2.34
libmemory| Compiler for C supports arguments -fdiagnostics-show-option: YES (cached)
libmemory| Compiler for C supports arguments -fcolor-diagnostics: NO (cached)
libmemory| Compiler for C supports arguments -ffunction-sections: YES (cached)
libmemory| Compiler for C supports arguments -fdata-sections: YES (cached)
libmemory| Compiler for C supports arguments -fdevirtualize: YES (cached)
libmemory| Compiler for C supports arguments -Wno-reserved-id-macro: NO
libmemory| Compiler for C supports arguments -Wno-pedantic: YES (cached)
libmemory| Compiler for C supports arguments -fdiagnostics-show-option: YES (cached)
libmemory| Compiler for C supports arguments -fcolor-diagnostics: NO (cached)
libmemory| Compiler for C supports arguments -ffunction-sections: YES (cached)
libmemory| Compiler for C supports arguments -fdata-sections: YES (cached)
libmemory| Compiler for C supports arguments -fdevirtualize: YES (cached)
libmemory| Compiler for C supports arguments -Wno-reserved-id-macro: NO (cached)
libmemory| Compiler for C supports arguments -Wno-pedantic: YES (cached)
libmemory| Compiler for C++ supports arguments -fdiagnostics-show-option: YES (cached)
libmemory| Compiler for C++ supports arguments -fcolor-diagnostics: NO (cached)
libmemory| Compiler for C++ supports arguments -ffunction-sections: YES (cached)
libmemory| Compiler for C++ supports arguments -fdata-sections: YES (cached)
libmemory| Compiler for C++ supports arguments -fdevirtualize: YES (cached)
libmemory| Compiler for C++ supports arguments -Wno-reserved-id-macro: NO
libmemory| Compiler for C++ supports arguments -Wno-pedantic: YES (cached)
libmemory| Compiler for C++ supports arguments -fdiagnostics-show-option: YES (cached)
libmemory| Compiler for C++ supports arguments -fcolor-diagnostics: NO (cached)
libmemory| Compiler for C++ supports arguments -ffunction-sections: YES (cached)
libmemory| Compiler for C++ supports arguments -fdata-sections: YES (cached)
libmemory| Compiler for C++ supports arguments -fdevirtualize: YES (cached)
libmemory| Compiler for C++ supports arguments -Wno-reserved-id-macro: NO (cached)
libmemory| Compiler for C++ supports arguments -Wno-pedantic: YES (cached)
libmemory| subprojects/libmemory/build/compiler/check-and-apply-flags/meson.build:47: WARNING: Expected variable link_settings_list not defined. Not processing linker arguments.
libmemory| Compiler for C supports link arguments -Wl,-map,test.map: NO (cached)
libmemory| Compiler for C supports link arguments -Wl,-Map,test.map: YES (cached)
libmemory| Compiler for C supports link arguments -Wl,-Map,test.map: YES (cached)
libmemory| Dependency cmocka found: YES 1.1.5 (cached)
libmemory| WARNING: Inconsistency: Subproject has overridden the dependency with another variable than 'cmocka_native_dep'
libmemory| Has header "cmocka.h" with dependency cmocka: NO (cached)
libmemory| Message: Using external libc specified in libc-subproject option.
Cloning into 'libc'...
remote: Enumerating objects: 3558, done.
remote: Counting objects: 100% (378/378), done.
remote: Compressing objects: 100% (185/185), done.
remote: Total 3558 (delta 200), reused 358 (delta 192), pack-reused 3180
Receiving objects: 100% (3558/3558), 733.77 KiB | 424.00 KiB/s, done.
Resolving deltas: 100% (2273/2273), done.
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'meson-buildsystem' (https://github.com/embeddedartistry/meson-buildsystem) registered for path 'build'
Submodule 'cmake' (https://github.com/embeddedartistry/cmake-buildsystem) registered for path 'cmake'
Submodule 'openlibm' (https://github.com/embeddedartistry/openlibm) registered for path 'openlibm'
Submodule 'printf' (https://github.com/embeddedartistry/printf) registered for path 'printf'
Submodule 'src/gdtoa' (https://github.com/embeddedartistry/gdtoa) registered for path 'src/gdtoa'
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/build'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/cmake'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/openlibm'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/printf'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/src/gdtoa'...
Submodule path 'build': checked out 'b9dd04b37d39f4cf431654ad4dc0685dce0d11d4'
Submodule 'analysis/cppcheck/cppcheck-rules' (https://github.com/embeddedartistry/cppcheck-rules) registered for path 'build/analysis/cppcheck/cppcheck-rules'
Submodule 'analysis/vale/vale-styleguide' (https://github.com/embeddedartistry/vale-styleguide) registered for path 'build/analysis/vale/vale-styleguide'
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/build/analysis/cppcheck/cppcheck-rules'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/build/analysis/vale/vale-styleguide'...
Submodule path 'build/analysis/cppcheck/cppcheck-rules': checked out 'bcf888be7ce93b9640cbc5d3b8a17a1d8cb52a43'
Submodule path 'build/analysis/vale/vale-styleguide': checked out '750b94e8f54fa176e363e9fe359bdb9394cf3b2e'
Submodule path 'cmake': checked out '3b148d8f2de329abc3ee4d720d3c26b48d156a6e'
Submodule 'analysis/cppcheck-rules' (https://github.com/embeddedartistry/cppcheck-rules) registered for path 'cmake/analysis/cppcheck-rules'
Submodule 'analysis/vale-styleguide' (https://github.com/embeddedartistry/vale-styleguide) registered for path 'cmake/analysis/vale-styleguide'
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/cmake/analysis/cppcheck-rules'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/cmake/analysis/vale-styleguide'...
Submodule path 'cmake/analysis/cppcheck-rules': checked out 'bcf888be7ce93b9640cbc5d3b8a17a1d8cb52a43'
Submodule path 'cmake/analysis/vale-styleguide': checked out 'ad31b757c52dde5969a6f1847f8b161e2d12e50b'
Submodule path 'openlibm': checked out '0418324ca46986b6a126b034f67ef89a1174d58c'
Submodule path 'printf': checked out '37ed5828ff614f4b59cc7b86a602ac6cff5c6f70'
Submodule path 'src/gdtoa': checked out '20f694a8322852130b6a65a9bc6e565cd7f95bfc'
Submodule 'build' (https://github.com/embeddedartistry/premake-buildsystem) registered for path 'src/gdtoa/build'
Submodule 'tools/format' (https://github.com/embeddedartistry/format) registered for path 'src/gdtoa/tools/format'
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/src/gdtoa/build'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libc/src/gdtoa/tools/format'...
Submodule path 'src/gdtoa/build': checked out 'd8cb29798f88202902f29a0fe60f5a65085e8d75'
Submodule path 'src/gdtoa/tools/format': checked out 'cb95123c744bb717a33005daeba33dbeb6c86f32'

Executing subproject libmemory:libc

libc| Project name: Embedded Artistry libc
libc| Project version: 1.0
libc| C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
libc| C linker for the host machine: cc ld.bfd 2.34
libc| C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
libc| C++ linker for the host machine: c++ ld.bfd 2.34
libc| Compiler for C supports arguments -fdiagnostics-show-option: YES (cached)
libc| Compiler for C supports arguments -fcolor-diagnostics: NO (cached)
libc| Compiler for C supports arguments -ffunction-sections: YES (cached)
libc| Compiler for C supports arguments -fdata-sections: YES (cached)
libc| Compiler for C supports arguments -fdevirtualize: YES (cached)
libc| Compiler for C supports arguments -Wno-nonnull: YES
libc| Compiler for C supports arguments -Wno-nonnull-compare: YES
libc| Compiler for C supports arguments -Wno-pedantic: YES (cached)
libc| Compiler for C supports arguments -fdiagnostics-show-option: YES (cached)
libc| Compiler for C supports arguments -fcolor-diagnostics: NO (cached)
libc| Compiler for C supports arguments -ffunction-sections: YES (cached)
libc| Compiler for C supports arguments -fdata-sections: YES (cached)
libc| Compiler for C supports arguments -fdevirtualize: YES (cached)
libc| Compiler for C supports arguments -Wno-nonnull: YES (cached)
libc| Compiler for C supports arguments -Wno-nonnull-compare: YES (cached)
libc| Compiler for C supports arguments -Wno-pedantic: YES (cached)
libc| Compiler for C supports link arguments -Wl,-dead_strip: NO (cached)
libc| Compiler for C supports link arguments -Wl,--gc-sections: YES (cached)
libc| Compiler for C supports link arguments -Wl,-dead_strip: NO (cached)
libc| Compiler for C supports link arguments -Wl,--gc-sections: YES (cached)
libc| Compiler for C supports link arguments -Wl,-map,test.map: NO (cached)
libc| Compiler for C supports link arguments -Wl,-Map,test.map: YES (cached)
libc| Compiler for C supports link arguments -Wl,-Map,test.map: YES (cached)
libc| Dependency cmocka found: YES 1.1.5 (cached)
libc| WARNING: Inconsistency: Subproject has overridden the dependency with another variable than 'cmocka_native_dep'
libc| Has header "cmocka.h" with dependency cmocka: NO (cached)
libc| Message: Host objcopy program not available, .hex and .bin conversion targets will be disabled.
libc| Message: Native objcopy program not available, .hex and .bin conversion targets will be disabled.
libc| Compiler for C supports arguments -nostdinc: YES
libc| Compiler for C supports arguments -fno-builtin: YES (cached)
libc| Compiler for C supports arguments -nostdinc: YES (cached)
libc| Compiler for C supports arguments -fno-builtin: YES (cached)
libc| Compiler for C supports arguments -nolibc: YES
libc| Compiler for C supports arguments -nolibc: YES (cached)
libc| Compiler for C supports arguments -nolibc: YES (cached)
libc| Compiler for C supports arguments -nostartfiles: YES
libc| Compiler for C supports arguments -nolibc: YES (cached)
libc| Compiler for C supports arguments -Wno-unused-parameter: YES
libc| Compiler for C supports arguments -Wno-stringop-truncation: YES
libc| Compiler for C supports arguments -Wno-stringop-overflow: YES
libc| subprojects/libc/test/meson.build:90: WARNING: libc tests will not pass with builtins disabled - calloc() will hang infinitely.
libc| Program clang-tidy found: YES (/usr/bin/clang-tidy)
libc| Program lizard found: YES (/usr/local/bin/lizard)
libc| Program cppcheck found: YES (/usr/bin/cppcheck)
libc| Program clang-format found: YES (/usr/bin/clang-format)
libc| Program cp found: YES (/usr/bin/cp)
libc| Configuring Doxyfile using configuration
libc| Program doxygen found: YES (/usr/bin/doxygen)
libc| Program tar found: YES (/usr/bin/tar)
libc| Build targets in project: 27
libc| NOTICE: Future-deprecated features used:
libc| * 0.56.0: {'meson.source_root', 'meson.build_root'}
libc| * 0.58.0: {'meson.get_cross_property'}
libc| Subproject libc finished.

libmemory| Program cp found: YES (/usr/bin/cp)
libmemory| Program clang-tidy found: YES (/usr/bin/clang-tidy)
libmemory| Program lizard found: YES (/usr/local/bin/lizard)
libmemory| Program cppcheck found: YES (/usr/bin/cppcheck)
libmemory| Program clang-format found: YES (/usr/bin/clang-format)
libmemory| Program cp found: YES (/usr/bin/cp)
libmemory| Configuring Doxyfile using configuration
libmemory| Program doxygen found: YES (/usr/bin/doxygen)
libmemory| Program tar found: YES (/usr/bin/tar)
libmemory| Build targets in project: 54
libmemory| NOTICE: Future-deprecated features used:
libmemory| * 0.56.0: {'meson.source_root', 'meson.build_root'}
libmemory| Subproject libmemory finished.

Cloning into 'libcpp'...
remote: Enumerating objects: 723, done.
remote: Counting objects: 100% (79/79), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 723 (delta 38), reused 49 (delta 17), pack-reused 644
Receiving objects: 100% (723/723), 440.43 KiB | 355.00 KiB/s, done.
Resolving deltas: 100% (378/378), done.
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'build' (git@github.com:embeddedartistry/meson-buildsystem.git) registered for path 'build'
Submodule 'embedded-unwind' (git@github.com:embeddedartistry/embedded-unwind.git) registered for path 'embedded-unwind'
Submodule 'extensions/plf_list' (git@github.com:mattreecebentley/plf_list.git) registered for path 'extensions/plf_list'
Submodule 'extensions/plf_stack' (https://github.com/mattreecebentley/plf_stack) registered for path 'extensions/plf_stack'
Submodule 'libcxx' (git@github.com:llvm-mirror/libcxx.git) registered for path 'libcxx'
Submodule 'libcxxabi' (git@github.com:llvm-mirror/libcxxabi.git) registered for path 'libcxxabi'
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libcpp/build'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libcpp/embedded-unwind'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libcpp/extensions/plf_list'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libcpp/extensions/plf_stack'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libcpp/libcxx'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libcpp/libcxxabi'...
Submodule path 'build': checked out '3679381cb080c8d49ae0a655352dfb161a8e5244'
Submodule 'analysis/cppcheck/cppcheck-rules' (https://github.com/embeddedartistry/cppcheck-rules) registered for path 'build/analysis/cppcheck/cppcheck-rules'
Submodule 'analysis/vale/vale-styleguide' (https://github.com/embeddedartistry/vale-styleguide) registered for path 'build/analysis/vale/vale-styleguide'
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libcpp/build/analysis/cppcheck/cppcheck-rules'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/libcpp/build/analysis/vale/vale-styleguide'...
Submodule path 'build/analysis/cppcheck/cppcheck-rules': checked out 'bcf888be7ce93b9640cbc5d3b8a17a1d8cb52a43'
Submodule path 'build/analysis/vale/vale-styleguide': checked out '750b94e8f54fa176e363e9fe359bdb9394cf3b2e'
Submodule path 'embedded-unwind': checked out '8ea72b986f52d79f6d9d6328840399c7904f890d'
Submodule path 'extensions/plf_list': checked out 'a639ab187de2933aef0edf7a448093a01d9a604e'
Submodule path 'extensions/plf_stack': checked out '1128d4b565181d20800e97cfc0e25b2c7c68fe10'
Submodule path 'libcxx': checked out '78d6a7767ed57b50122a161b91f59f19c9bd0d19'
Submodule path 'libcxxabi': checked out 'ce3db128f9e4d6d19d1cdbe39bb45fcc64a5adb0'

Executing subproject libcpp 

libcpp| Project name: Embedded Artistry libcpp
libcpp| Project version: undefined
libcpp| C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
libcpp| C++ linker for the host machine: c++ ld.bfd 2.34
libcpp| Compiler for C++ supports arguments -fdiagnostics-show-option: YES (cached)
libcpp| Compiler for C++ supports arguments -fcolor-diagnostics: NO (cached)
libcpp| Compiler for C++ supports arguments -ffunction-sections: YES (cached)
libcpp| Compiler for C++ supports arguments -fdata-sections: YES (cached)
libcpp| Compiler for C++ supports arguments -fdevirtualize: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-pedantic: YES (cached)
libcpp| Compiler for C++ supports arguments -W: YES
libcpp| Compiler for C++ supports arguments -Wwrite-strings: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-unused-member-function: NO
libcpp| Compiler for C++ supports arguments -Wno-useless-cast: YES
libcpp| Compiler for C++ supports arguments -Wno-weak-vtables: NO
libcpp| Compiler for C++ supports arguments -Wno-missing-prototypes: NO
libcpp| Compiler for C++ supports arguments -Wno-class-varargs: NO
libcpp| Compiler for C++ supports arguments -Wno-unused-template: NO
libcpp| Compiler for C++ supports arguments -Wno-zero-as-null-pointer-constant: YES
libcpp| Compiler for C++ supports arguments -Wno-reserved-id-macro: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-deprecated-dynamic-exception-spec: NO
libcpp| Compiler for C++ supports arguments -Wno-comma: NO
libcpp| Compiler for C++ supports arguments -Wno-old-style-cast: YES
libcpp| Compiler for C++ supports arguments -Werror=return-type: YES
libcpp| Compiler for C++ supports arguments -Wno-unused-parameter: YES
libcpp| Compiler for C++ supports arguments -Wno-long-long: YES
libcpp| Compiler for C++ supports arguments -Wno-switch-default: YES
libcpp| Compiler for C++ supports arguments -Wno-switch-enum: YES
libcpp| Compiler for C++ supports arguments -Wno-inline: YES
libcpp| Compiler for C++ supports arguments -Wno-effc++: YES
libcpp| Compiler for C++ supports arguments -Wno-cast-align: YES
libcpp| Compiler for C++ supports arguments -fdiagnostics-show-option: YES (cached)
libcpp| Compiler for C++ supports arguments -fcolor-diagnostics: NO (cached)
libcpp| Compiler for C++ supports arguments -ffunction-sections: YES (cached)
libcpp| Compiler for C++ supports arguments -fdata-sections: YES (cached)
libcpp| Compiler for C++ supports arguments -fdevirtualize: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-pedantic: YES (cached)
libcpp| Compiler for C++ supports arguments -W: YES (cached)
libcpp| Compiler for C++ supports arguments -Wwrite-strings: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-unused-member-function: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-useless-cast: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-weak-vtables: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-missing-prototypes: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-class-varargs: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-unused-template: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-zero-as-null-pointer-constant: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-reserved-id-macro: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-deprecated-dynamic-exception-spec: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-comma: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-old-style-cast: YES (cached)
libcpp| Compiler for C++ supports arguments -Werror=return-type: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-unused-parameter: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-long-long: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-switch-default: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-switch-enum: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-inline: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-effc++: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-cast-align: YES (cached)
libcpp| subprojects/libcpp/build/compiler/check-and-apply-flags/meson.build:47: WARNING: Expected variable link_settings_list not defined. Not processing linker arguments.
libcpp| Compiler for C++ supports arguments -Wmismatched-tags: NO
libcpp| Compiler for C++ supports arguments -Wnewline-eof: NO
libcpp| Compiler for C++ supports arguments -Wshorten-64-to-32: NO
libcpp| Compiler for C++ supports arguments -Wconversion: YES (cached)
libcpp| Compiler for C++ supports arguments -Wchar-subscripts: YES
libcpp| Compiler for C++ supports arguments -Wmissing-braces: YES
libcpp| Compiler for C++ supports arguments -Wshadow: YES (cached)
libcpp| Compiler for C++ supports arguments -Wsign-compare: YES
libcpp| Compiler for C++ supports arguments -Wsign-conversion: YES (cached)
libcpp| Compiler for C++ supports arguments -Wstrict-aliasing=2: YES
libcpp| Compiler for C++ supports arguments -Wstrict-overflow=4: YES
libcpp| Compiler for C++ supports arguments -Wunused-variable: YES
libcpp| Compiler for C++ supports arguments -Wundef: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-switch: YES
libcpp| Compiler for C++ supports arguments -Wno-missing-declarations: YES
libcpp| Compiler for C++ supports arguments -Wmismatched-tags: NO (cached)
libcpp| Compiler for C++ supports arguments -Wnewline-eof: NO (cached)
libcpp| Compiler for C++ supports arguments -Wshorten-64-to-32: NO (cached)
libcpp| Compiler for C++ supports arguments -Wconversion: YES (cached)
libcpp| Compiler for C++ supports arguments -Wchar-subscripts: YES (cached)
libcpp| Compiler for C++ supports arguments -Wmissing-braces: YES (cached)
libcpp| Compiler for C++ supports arguments -Wshadow: YES (cached)
libcpp| Compiler for C++ supports arguments -Wsign-compare: YES (cached)
libcpp| Compiler for C++ supports arguments -Wsign-conversion: YES (cached)
libcpp| Compiler for C++ supports arguments -Wstrict-aliasing=2: YES (cached)
libcpp| Compiler for C++ supports arguments -Wstrict-overflow=4: YES (cached)
libcpp| Compiler for C++ supports arguments -Wunused-variable: YES (cached)
libcpp| Compiler for C++ supports arguments -Wundef: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-switch: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-missing-declarations: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-literal-suffix: YES
libcpp| Compiler for C++ supports arguments -Wno-c++14-compat: YES
libcpp| Compiler for C++ supports arguments -Wno-noexcept-type: YES
libcpp| Compiler for C++ supports arguments -Wno-user-defined-literals: NO
libcpp| Compiler for C++ supports arguments -Wno-covered-switch-default: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-sign-conversion: YES
libcpp| Compiler for C++ supports arguments -Wno-conversion: YES
libcpp| Compiler for C++ supports arguments -Wno-double-promotion: YES
libcpp| Compiler for C++ supports arguments -Wno-literal-suffix: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-c++14-compat: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-noexcept-type: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-user-defined-literals: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-covered-switch-default: NO (cached)
libcpp| Compiler for C++ supports arguments -Wno-sign-conversion: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-conversion: YES (cached)
libcpp| Compiler for C++ supports arguments -Wno-double-promotion: YES (cached)
libcpp| Message: Using external libc specified in libc-subproject option.
libcpp| Message: If you are using Embedded Artistry libc, note that iostreams and locale are not supported.
libcpp| Message: Exceptions are disabled
libcpp| Message: RTTI is Disabled
libcpp| Message: Building with framework thread library support
libcpp| Message: enabling threads
libcpp| Run-time dependency threads found: YES
libcpp| Dependency threads found: YES unknown (cached)
libcpp| Compiler for C++ supports arguments -pthread: YES
libcpp| Message: Enabling pthread support for the host machine C++ library
libcpp| Message: Enabling pthread support for the native C++ library
libcpp| Checking for function "__cxa_thread_atexit_impl" : YES
libcpp| Checking for function "__cxa_thread_atexit_impl" : YES (cached)
libcpp| Program mkdir found: YES (/usr/bin/mkdir)
libcpp| Program cp found: YES (/usr/bin/cp)
libcpp| Program cat found: YES (/usr/bin/cat)
libcpp| Configuring refstring.h with command
libcpp| Configuring __libcpp_config_site using configuration
libcpp| Build targets in project: 64
libcpp| Subproject libcpp finished.

Cloning into 'compiler-rt'...
remote: Enumerating objects: 159, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 159 (delta 10), reused 21 (delta 10), pack-reused 137
Receiving objects: 100% (159/159), 39.73 KiB | 363.00 KiB/s, done.
Resolving deltas: 100% (75/75), done.
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'build' (git@github.com:embeddedartistry/meson-buildsystem.git) registered for path 'build'
Submodule 'compiler-rt' (git@github.com:llvm-mirror/compiler-rt.git) registered for path 'compiler-rt'
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/compiler-rt/build'...
Cloning into '/home/ragiton/test_embvm-core/embvm-core/subprojects/compiler-rt/compiler-rt'...
Submodule path 'build': checked out '7419d132e610e361fa967169f18620445053b142'
Submodule path 'compiler-rt': checked out '69445f095c22aac2388f939bedebf224a6efcdaf'

Executing subproject compiler-rt 

compiler-rt| Project name: compiler_rt
compiler-rt| Project version: undefined
compiler-rt| C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
compiler-rt| C linker for the host machine: cc ld.bfd 2.34
compiler-rt| C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
compiler-rt| C++ linker for the host machine: c++ ld.bfd 2.34
compiler-rt| Message: Building compiler-rt for target architecture: x86_64
compiler-rt| Message: Building compiler-rt for native architecture: x86_64
compiler-rt| Compiler for C++ supports arguments -Wno-builtin-declaration-mismatch: YES
compiler-rt| Compiler for C++ supports arguments -Wno-builtin-declaration-mismatch: YES (cached)
compiler-rt| Compiler for C++ supports arguments -Wno-shift-sign-overflow: NO
compiler-rt| Compiler for C++ supports arguments -Wno-shift-sign-overflow: NO (cached)
compiler-rt| Compiler for C++ supports arguments -Wno-shorten-64-to-32: NO
compiler-rt| Compiler for C++ supports arguments -Wno-shorten-64-to-32: NO (cached)
compiler-rt| Compiler for C++ supports arguments -Wno-unreachable-code-break: NO
compiler-rt| Compiler for C++ supports arguments -Wno-unreachable-code-break: NO (cached)
compiler-rt| Compiler for C++ supports arguments -Wno-conditional-uninitialized: NO
compiler-rt| Compiler for C++ supports arguments -Wno-conditional-uninitialized: NO (cached)
compiler-rt| Compiler for C++ supports arguments -Wno-missing-variable-declarations: NO
compiler-rt| Compiler for C++ supports arguments -Wno-missing-variable-declarations: NO (cached)
compiler-rt| Compiler for C++ supports arguments -Wno-reserved-id-macro: NO (cached)
compiler-rt| Compiler for C++ supports arguments -Wno-reserved-id-macro: NO (cached)
compiler-rt| Compiler for C++ supports arguments -Wno-missing-prototypes: NO (cached)
compiler-rt| Compiler for C++ supports arguments -Wno-missing-prototypes: NO (cached)
compiler-rt| Build targets in project: 66
compiler-rt| Subproject compiler-rt finished.

src/subsystems/version/meson.build:5: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
Dependency threads found: YES unknown (cached)
Downloading catch2 source from https://github.com/catchorg/Catch2/archive/v2.13.3.zip
Downloading file of unknown size.
Downloading catch2 patch from https://wrapdb.mesonbuild.com/v1/projects/catch2/2.13.3/2/get_zip
Download size: 1029
Downloading: ..........

Executing subproject catch2 

catch2| Project name: catch2
catch2| Project version: 2.13.3
catch2| C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
catch2| C++ linker for the host machine: c++ ld.bfd 2.34
catch2| Build targets in project: 75
catch2| Subproject catch2 finished.

build/test/catch2/meson.build:40: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead.
meson.build:291: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
meson.build:292: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
Program clang-tidy found: YES (/usr/bin/clang-tidy)
build/analysis/complexity/meson.build:32: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
build/analysis/complexity/meson.build:33: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
Program lizard found: YES (/usr/local/bin/lizard)
build/analysis/cppcheck/meson.build:25: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
build/analysis/cppcheck/meson.build:26: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
Program cppcheck found: YES (/usr/bin/cppcheck)
build/analysis/sloccount/meson.build:25: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
build/analysis/sloccount/meson.build:26: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
Program sloccount found: YES (/usr/bin/sloccount)
build/analysis/vale/meson.build:10: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
build/analysis/vale/meson.build:11: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
Program vale found: NO
build/format/meson.build:45: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
build/format/meson.build:46: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
Program clang-format found: YES (/usr/bin/clang-format)
Program cp found: YES (/usr/bin/cp)
build/format/meson.build:124: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
build/docs/doxygen/meson.build:32: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead.
build/docs/doxygen/meson.build:37: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
build/docs/doxygen/meson.build:38: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
build/docs/doxygen/meson.build:39: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
build/docs/doxygen/meson.build:60: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
Configuring Doxyfile using configuration
Program doxygen found: YES (/usr/bin/doxygen)
Build targets in project: 97
NOTICE: Future-deprecated features used:
 * 0.58.0: {'meson.get_cross_property'}
WARNING: Deprecated features used:
 * 0.56.0: {'meson.source_root', 'meson.build_root'}

embvm-core 0.9

  Subprojects
    catch2     : YES
    cmocka     : YES
    compiler-rt: YES
    etl        : YES
    gsl-lite   : YES
    libc       : YES 3 warnings
    libcpp     : YES 1 warnings
    libmemory  : YES 3 warnings

Found ninja-1.10.0 at /usr/bin/ninja
ninja: Entering directory `buildresults'
[22/393] Compiling C object subprojects/libmemory/src/libmemory_hosted_native.a.p/aligned_malloc.c.o
../subprojects/libmemory/src/aligned_malloc.c:12: warning: ignoring #pragma mark  [-Wunknown-pragmas]
   12 | #pragma mark - Definitions -
      | 
../subprojects/libmemory/src/aligned_malloc.c:35: warning: ignoring #pragma mark  [-Wunknown-pragmas]
   35 | #pragma mark - APIs -
      | 
[294/393] Compiling C++ object src/core/libcore.a.p/rtos_libcpp_threading.cpp.o
FAILED: src/core/libcore.a.p/rtos_libcpp_threading.cpp.o 
c++ -Isrc/core/libcore.a.p -Isrc/core -I../src/core -Isrc/utilities -I../src/utilities -Isrc/subsystems -I../src/subsystems -I../src/etl -I../subprojects/gsl-lite/include -Isubprojects/libcpp/include/c++ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O2 -Wold-style-cast -Wnon-virtual-dtor -Wctor-dtor-privacy -Woverloaded-virtual -Wnoexcept -Wstrict-null-sentinel -Wuseless-cast -Wzero-as-null-pointer-constant -Wextra-semi -fno-rtti -fno-exceptions -fno-unwind-tables -fdiagnostics-show-option -ffunction-sections -fdata-sections -fdevirtualize -Wno-unknown-pragmas -Wno-padded -Wfloat-equal -Wconversion -Wlogical-op -Wundef -Wredundant-decls -Wshadow -Wstrict-overflow=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wformat=2 -Wformat-truncation -Wmissing-include-dirs -Wcast-align -Wswitch-enum -Wsign-conversion -Wdisabled-optimization -Winvalid-pch -Wmissing-declarations -Wdouble-promotion -Wshadow -Wtrampolines -Wvector-operation-performance -Wshift-overflow=2 -Wnull-dereference -Wduplicated-cond -Wshift-overflow=2 -Wnull-dereference -Wduplicated-cond -Wcast-align=strict -fno-builtin -Wno-pedantic -fPIC -DPRINTF_ALIAS_STANDARD_FUNCTION_NAMES=1 -DNO_ERRNO -DIFNAN_CHECK -DGDTOA_NO_ASSERT -DNO_FENV_H -nostdinc -fno-builtin -nostdinc++ -D_GNU_SOURCE -D_LIBCPP_FRAMEWORK_FORCE_PTHREAD -DDEBUG_ASSERT_NO_STDIO -Dgsl_CONFIG_DEFAULTS_VERSION=1 -Dgsl_CONFIG_NOT_NULL_EXPLICIT_CTOR=0 -isystem../subprojects/libc/printf/src -isystem../subprojects/libc/printf/src/printf -isystem../subprojects/libc/openlibm/src -isystem../subprojects/libc/openlibm/include -isystem../subprojects/libc/src/gdtoa/include -isystem../subprojects/libcpp/include/c++ -isystemsubprojects/libcpp/include/c++ -isystem../subprojects/libcpp/include/c++abi -isystemsubprojects/libcpp/include/c++abi -isystem../subprojects/libc/arch/x86_64/include -isystem../subprojects/libc/include -isystem../subprojects/etl/include -isystem../subprojects/libcpp/extensions -MD -MQ src/core/libcore.a.p/rtos_libcpp_threading.cpp.o -MF src/core/libcore.a.p/rtos_libcpp_threading.cpp.o.d -o src/core/libcore.a.p/rtos_libcpp_threading.cpp.o -c ../src/core/rtos/libcpp_threading.cpp
In file included from ../src/core/rtos/libcpp_threading.cpp:11:
subprojects/libcpp/include/c++/__external_threading:15:10: fatal error: pthread.h: No such file or directory
   15 | #include <pthread.h>
      |          ^~~~~~~~~~~
compilation terminated.
[297/393] Compiling C++ object src/core/libcore.a.p/driver_internal_basic_display.cpp.o
In file included from ../src/core/driver/internal/basic_display.cpp:4:
../src/core/driver/basic_display.hpp: In member function ‘void embvm::basicDisplay::lineH(embvm::basicDisplay::coord_t, embvm::basicDisplay::coord_t, uint8_t, embvm::basicDisplay::color, embvm::basicDisplay::mode)’:
../src/core/driver/basic_display.hpp:244:16: warning: conversion from ‘int’ to ‘embvm::basicDisplay::coord_t’ {aka ‘unsigned char’} may change value [-Wconversion]
  244 |   line(x, y, x + width, y, c, m);
      |              ~~^~~~~~~
../src/core/driver/basic_display.hpp: In member function ‘void embvm::basicDisplay::lineV(embvm::basicDisplay::coord_t, embvm::basicDisplay::coord_t, uint8_t, embvm::basicDisplay::color, embvm::basicDisplay::mode)’:
../src/core/driver/basic_display.hpp:276:19: warning: conversion from ‘int’ to ‘embvm::basicDisplay::coord_t’ {aka ‘unsigned char’} may change value [-Wconversion]
  276 |   line(x, y, x, y + height, c, m);
      |                 ~~^~~~~~~~
[303/393] Compiling C++ object src/core/libcore_native.a.p/driver_internal_basic_display.cpp.o
In file included from ../src/core/driver/internal/basic_display.cpp:4:
../src/core/driver/basic_display.hpp: In member function ‘void embvm::basicDisplay::lineH(embvm::basicDisplay::coord_t, embvm::basicDisplay::coord_t, uint8_t, embvm::basicDisplay::color, embvm::basicDisplay::mode)’:
../src/core/driver/basic_display.hpp:244:16: warning: conversion from ‘int’ to ‘embvm::basicDisplay::coord_t’ {aka ‘unsigned char’} may change value [-Wconversion]
  244 |   line(x, y, x + width, y, c, m);
      |              ~~^~~~~~~
../src/core/driver/basic_display.hpp: In member function ‘void embvm::basicDisplay::lineV(embvm::basicDisplay::coord_t, embvm::basicDisplay::coord_t, uint8_t, embvm::basicDisplay::color, embvm::basicDisplay::mode)’:
../src/core/driver/basic_display.hpp:276:19: warning: conversion from ‘int’ to ‘embvm::basicDisplay::coord_t’ {aka ‘unsigned char’} may change value [-Wconversion]
  276 |   line(x, y, x, y + height, c, m);
      |                 ~~^~~~~~~~
[311/393] Compiling C++ object src/core/libcore.a.p/driver_internal_i2c.cpp.o
ninja: build stopped: subcommand failed.
make: *** [Makefile:55: default] Error 1
ragiton:embvm-core$ 

@phillipjohnston
Copy link
Contributor

Hm. I will double check how I am handling pthread. Guess I need to get a WSL setup going!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants