safec: Initial recipe for safe C library
PATCH v3 1/1 safec: Initial recipe for safe C library
Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top of most libc implementations, which are missing from them.
--- meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb
meta-oe/recipes-core/safec/safec_3.4.bb new file +15 -0
@@ -0,0 +1,15 @@ +SUMMARY = "Safe C Library" + +LICENSE = "safec" +LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164" +SECTION = "lib" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" +SRC_URI = "git://github.com/rurban/safeclib.git" + +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm|aarch64).*-linux' + +RDEPENDS_${PN} = "perl"
Signature · 1 line
2.20.1
Quoted 21 lines · Ankit Navik
Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top of most libc implementations, which are missing from them.Signed-off-by Ankit Navik <[email protected]>--- meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bbmeta-oe/recipes-core/safec/safec_3.4.bb new file +4
-0@@ -0,0 +1,15 @@ +SUMMARY = "Safe C Library" + +LICENSE = "safec" +LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
meta-oe/recipes-core/safec/safec_3.4.bb line 14
Quoted 10 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +10
-0+SECTION = "lib" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" +SRC_URI = "git://github.com/rurban/safeclib.git" + +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm|aarch64).*-linux' +
I see its excluding mips/mips64 from core supported architectures, is that intentional ?
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-1+RDEPENDS_${PN} = "perl" --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi Raj,
Quoted 30 lines · Khem Raj
Quoted 3 lines · Ankit Navik
Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top of mostlibc
Review
Quoted 9 lines
implementations, which are missing from them.
Signed-off-by Ankit Navik <[email protected]>--- meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb(quoted diff) +0
-0b/meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 14 lines
new file mode 100644
index 000000000..d55d081f3meta-oe/recipes-core/safec/safec_3.4.bb new file +9
-0@@ -0,0 +1,15 @@ +SUMMARY = "Safe C Library" + +LICENSE = "safec" +LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164" +SECTION = "lib" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git"
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 14
Quoted 5 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +5
-0+SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" +SRC_URI = "git://github.com/rurban/safeclib.git" + +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm|aarch64).*-linux' +I see its excluding mips/mips64 from core supported architectures, is that intentional ?
I'm not sure. This library is required for another component i.e. ipmctl.
Regards,
Ankit
Quoted 11 lines
Quoted 10 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-1+RDEPENDS_${PN} = "perl" --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi,
it seems to fail for aarch64, I've noticed it in world build for raspberrypi3-64:
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef
-Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align
-Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked
-Wmissing-noreturn -Winit-self -Wmissing-include-dirs
-Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum
-Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op
-Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init
-Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g
-feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcscpy_s.c -fPIC -DPIC -o wchar/.libs/wcscpy_s.o
{standard input}: Assembler messages:
{standard input}:161: Error: unknown mnemonic `memory_barrier' --
`memory_barrier'
{standard input}:389: Error: unknown mnemonic `memory_barrier' --
`memory_barrier'
{standard input}:649: Error: unknown mnemonic `memory_barrier' --
`memory_barrier'
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef
-Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align
-Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked
-Wmissing-noreturn -Winit-self -Wmissing-include-dirs
-Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum
-Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op
-Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init
-Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g
-feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcsncpy_s.c -fPIC -DPIC -o wchar/.libs/wcsncpy_s.o aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef
-Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align
-Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked
-Wmissing-noreturn -Winit-self -Wmissing-include-dirs
-Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum
-Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op
-Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init
-Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g
-feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wmemcpy_s.c -fPIC -DPIC -o wchar/.libs/wmemcpy_s.o
../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef
-Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align
-Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked
-Wmissing-noreturn -Winit-self -Wmissing-include-dirs
-Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum
-Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op
-Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init
-Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g
-feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0
-fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0
-fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot=
-fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native=
-c -o wchar/wscanf_s.lo ../../git/src/wchar/wscanf_s.c
../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef
-Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align
-Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked
-Wmissing-noreturn -Winit-self -Wmissing-include-dirs
-Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum
-Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op
-Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init
-Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g
-feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0
-fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0
-fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot=
-fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native=
-c -o wchar/vfwscanf_s.lo ../../git/src/wchar/vfwscanf_s.c
Makefile:1432: recipe for target 'mem/mem_primitives_lib.lo' failed
make[2]: *** [mem/mem_primitives_lib.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
Quoted 68 lines · Ankit Navik
Hi Raj,
Quoted 16 lines · Khem Raj
Quoted 3 lines · Ankit Navik
Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top of mostlibc
Review
Quoted 9 lines
implementations, which are missing from them.
Signed-off-by Ankit Navik <[email protected]>--- meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb(quoted diff) +0
-0b/meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 4
Quoted 9 lines
new file mode 100644
index 000000000..d55d081f3meta-oe/recipes-core/safec/safec_3.4.bb new file +4
-0@@ -0,0 +1,15 @@ +SUMMARY = "Safe C Library" + +LICENSE = "safec" +LIC_FILES_CHKSUM ="file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +9
-0+SECTION = "lib" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" +SRC_URI = "git://github.com/rurban/safeclib.git" + +COMPATIBLE_HOST ='(x86_64|i.86|powerpc|powerpc64|arm|aarch64).*-linux'
Quoted 5 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 14
Quoted 1 line
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-0+I see its excluding mips/mips64 from core supported architectures, is that intentional ?
I'm not sure. This library is required for another component i.e. ipmctl.
Regards,
AnkitQuoted 11 lines
Quoted 10 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-1+RDEPENDS_${PN} = "perl" --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
And there is also:
WARNING: safec-3.4-r0 do_populate_lic: safec: No generic license file exists for: safec in any provider
Add the license text to the meta-oe/licenses/ directory.
Quoted 210 lines · Martin Jansa
Hi,
it seems to fail for aarch64, I've noticed it in world build for raspberrypi3-64:
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcscpy_s.c -fPIC -DPIC -o wchar/.libs/wcscpy_s.o{standard input}: Assembler messages:
{standard input}:161: Error: unknown mnemonicmemory_barrier' --memory_barrier'
{standard input}:389: Error: unknown mnemonicmemory_barrier' --memory_barrier'
{standard input}:649: Error: unknown mnemonicmemory_barrier' --memory_barrier'
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcsncpy_s.c -fPIC -DPIC -o wchar/.libs/wcsncpy_s.oaarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wmemcpy_s.c -fPIC -DPIC -o wchar/.libs/wmemcpy_s.o../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot(quoted diff) +0
-15-DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c -o wchar/wscanf_s.lo ../../git/src/wchar/wscanf_s.c../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot(quoted diff) +0
-15-DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c -o wchar/vfwscanf_s.lo ../../git/src/wchar/vfwscanf_s.cMakefile:1432: recipe for target 'mem/mem_primitives_lib.lo' failed make[2]: *** [mem/mem_primitives_lib.lo] Error 1 make[2]: *** Waiting for unfinished jobs....
Quoted 69 lines · Ankit Navik
Hi Raj,
Quoted 5 lines · Khem Raj
Quoted 3 lines · Ankit Navik
Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top ofmost
Quoted 11 lines
libc
Review
Quoted 9 lines
implementations, which are missing from them.
Signed-off-by Ankit Navik <[email protected]>--- meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb(quoted diff) +0
-0b/meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 4
Quoted 9 lines
new file mode 100644
index 000000000..d55d081f3meta-oe/recipes-core/safec/safec_3.4.bb new file +4
-0@@ -0,0 +1,15 @@ +SUMMARY = "Safe C Library" + +LICENSE = "safec" +LIC_FILES_CHKSUM ="file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +9
-0+SECTION = "lib" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" +SRC_URI = "git://github.com/rurban/safeclib.git" + +COMPATIBLE_HOST ='(x86_64|i.86|powerpc|powerpc64|arm|aarch64).*-linux'
Quoted 5 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 14
Quoted 1 line
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-0+I see its excluding mips/mips64 from core supported architectures, is that intentional ?
I'm not sure. This library is required for another component i.e. ipmctl.
Regards,
AnkitQuoted 11 lines
Quoted 10 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-1+RDEPENDS_${PN} = "perl" --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi Martin,
Quoted 6 lines · Martin Jansa
And there is also:
WARNING: safec-3.4-r0do_populate_lic: safec: No generic license file exists for: safec in any providerAdd the license text to the meta-oe/licenses/ directory.
I have already added licenses.
https://patchwork.openembedded.org/patch/161305/
There are no comment on the patch but it is in change requested state.
Regards,
Ankit
Quoted 211 lines · Martin Jansa
Quoted 211 lines
Hi,
it seems to fail for aarch64, I've noticed it in world build for raspberrypi3-64:
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcscpy_s.c -fPIC -DPIC -o wchar/.libs/wcscpy_s.o{standard input}: Assembler messages:
{standard input}:161: Error: unknown mnemonicmemory_barrier' --memory_barrier'
{standard input}:389: Error: unknown mnemonicmemory_barrier' --memory_barrier'
{standard input}:649: Error: unknown mnemonicmemory_barrier' --memory_barrier'
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcsncpy_s.c -fPIC -DPIC -o wchar/.libs/wcsncpy_s.oaarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wmemcpy_s.c -fPIC -DPIC -o wchar/.libs/wmemcpy_s.o../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot(quoted diff) +0
-15-DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c -o wchar/wscanf_s.lo ../../git/src/wchar/wscanf_s.c../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot(quoted diff) +0
-15-DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c -o wchar/vfwscanf_s.lo ../../git/src/wchar/vfwscanf_s.cMakefile:1432: recipe for target 'mem/mem_primitives_lib.lo' failed make[2]: *** [mem/mem_primitives_lib.lo] Error 1 make[2]: *** Waiting for unfinished jobs....
Quoted 69 lines · Ankit Navik
Hi Raj,
Quoted 5 lines · Khem Raj
Quoted 3 lines · Ankit Navik
Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top ofmost
Quoted 11 lines
libc
Review
Quoted 9 lines
implementations, which are missing from them.
Signed-off-by Ankit Navik <[email protected]>--- meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb(quoted diff) +0
-0b/meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 4
Quoted 9 lines
new file mode 100644
index 000000000..d55d081f3meta-oe/recipes-core/safec/safec_3.4.bb new file +4
-0@@ -0,0 +1,15 @@ +SUMMARY = "Safe C Library" + +LICENSE = "safec" +LIC_FILES_CHKSUM ="file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +9
-0+SECTION = "lib" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" +SRC_URI = "git://github.com/rurban/safeclib.git" + +COMPATIBLE_HOST ='(x86_64|i.86|powerpc|powerpc64|arm|aarch64).*-linux'
Quoted 5 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 14
Quoted 1 line
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-0+I see its excluding mips/mips64 from core supported architectures, is that intentional ?
I'm not sure. This library is required for another component i.e. ipmctl.
Regards,
AnkitQuoted 11 lines
Quoted 10 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-1+RDEPENDS_${PN} = "perl" --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Thanks, sorry I didn't notice this change before.
And what about the aarch64 failure? Should it just be removed from COMPATIBLE_HOSTs? or is there some aarch64 where it is supposed to work?
Quoted 232 lines · Ankit Navik
Hi Martin,
Quoted 6 lines · Martin Jansa
And there is also:
WARNING: safec-3.4-r0do_populate_lic: safec: No generic license file exists for: safec in any providerAdd the license text to the meta-oe/licenses/ directory.
I have already added licenses.
https://patchwork.openembedded.org/patch/161305/
There are no comment on the patch but it is in change requested state.Regards,
AnkitOn Tue, Jun 18, 2019 at 8:02 AM Martin Jansa <[email protected]>
Quoted 213 lines
Quoted 211 lines · wrote:
Hi,
it seems to fail for aarch64, I've noticed it in world build for raspberrypi3-64:
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcscpy_s.c -fPIC -DPIC -o wchar/.libs/wcscpy_s.o{standard input}: Assembler messages:
{standard input}:161: Error: unknown mnemonicmemory_barrier' --memory_barrier'
{standard input}:389: Error: unknown mnemonicmemory_barrier' --memory_barrier'
{standard input}:649: Error: unknown mnemonicmemory_barrier' --memory_barrier'
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcsncpy_s.c -fPIC -DPIC -o wchar/.libs/wcsncpy_s.oaarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wmemcpy_s.c -fPIC -DPIC -o wchar/.libs/wmemcpy_s.o../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot(quoted diff) +0
-15-DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c -o wchar/wscanf_s.lo ../../git/src/wchar/wscanf_s.c../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot(quoted diff) +0
-15-DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c -o wchar/vfwscanf_s.lo ../../git/src/wchar/vfwscanf_s.cMakefile:1432: recipe for target 'mem/mem_primitives_lib.lo' failed make[2]: *** [mem/mem_primitives_lib.lo] Error 1 make[2]: *** Waiting for unfinished jobs....
Quoted 70 lines · Ankit Navik
Hi Raj,
Quoted 5 lines · Khem Raj
Quoted 3 lines · Ankit Navik
Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top ofmost
Quoted 11 lines
libc
Review
Quoted 9 lines
implementations, which are missing from them.
Signed-off-by Ankit Navik <[email protected]>--- meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb(quoted diff) +0
-0b/meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 4
Quoted 9 lines
new file mode 100644
index 000000000..d55d081f3meta-oe/recipes-core/safec/safec_3.4.bb new file +4
-0@@ -0,0 +1,15 @@ +SUMMARY = "Safe C Library" + +LICENSE = "safec" +LIC_FILES_CHKSUM ="file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +9
-0+SECTION = "lib" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" +SRC_URI = "git://github.com/rurban/safeclib.git" + +COMPATIBLE_HOST ='(x86_64|i.86|powerpc|powerpc64|arm|aarch64).*-linux'
Quoted 5 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 14
Quoted 1 line
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-0+I see its excluding mips/mips64 from core supported architectures, is that intentional ?
I'm not sure. This library is required for another component i.e. ipmctl.
Regards,
AnkitQuoted 11 lines
Quoted 10 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-1+RDEPENDS_${PN} = "perl" --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 9 lines · Ankit Navik
Hi Martin,
Quoted 4 lines · Martin Jansa
And there is also:
WARNING: safec-3.4-r0do_populate_lic: safec: No generic license file exists for: safec in any provider
Quoted 6 lines
Quoted 2 lines
Add the license text to the meta-oe/licenses/ directory.
I have already added licenses.
https://patchwork.openembedded.org/patch/161305/
There are no comment on the patch but it is in change requested state.
It was part of series where one patch was in that state and was updated and applied but this one missed out resending full series would have helped I will cherry pick this again
Quoted 218 lines
Regards,
AnkitOn Tue, Jun 18, 2019 at 8:02 AM Martin Jansa <[email protected]>
Quoted 213 lines
Quoted 211 lines · wrote:
Hi,
it seems to fail for aarch64, I've noticed it in world build for raspberrypi3-64:
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcscpy_s.c -fPIC -DPIC -o wchar/.libs/wcscpy_s.o{standard input}: Assembler messages:
{standard input}:161: Error: unknown mnemonicmemory_barrier' --memory_barrier'
{standard input}:389: Error: unknown mnemonicmemory_barrier' --memory_barrier'
{standard input}:649: Error: unknown mnemonicmemory_barrier' --memory_barrier'
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcsncpy_s.c -fPIC -DPIC -o wchar/.libs/wcsncpy_s.oaarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wmemcpy_s.c -fPIC -DPIC -o wchar/.libs/wmemcpy_s.o../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot(quoted diff) +0
-15-DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c -o wchar/wscanf_s.lo ../../git/src/wchar/wscanf_s.c../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot(quoted diff) +0
-15-DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c -o wchar/vfwscanf_s.lo ../../git/src/wchar/vfwscanf_s.cMakefile:1432: recipe for target 'mem/mem_primitives_lib.lo' failed make[2]: *** [mem/mem_primitives_lib.lo] Error 1 make[2]: *** Waiting for unfinished jobs....
Quoted 70 lines · Ankit Navik
Hi Raj,
Quoted 5 lines · Khem Raj
Quoted 3 lines · Ankit Navik
Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top ofmost
Quoted 11 lines
libc
Review
Quoted 9 lines
implementations, which are missing from them.
Signed-off-by Ankit Navik <[email protected]>--- meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb(quoted diff) +0
-0b/meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 4
Quoted 9 lines
new file mode 100644
index 000000000..d55d081f3meta-oe/recipes-core/safec/safec_3.4.bb new file +4
-0@@ -0,0 +1,15 @@ +SUMMARY = "Safe C Library" + +LICENSE = "safec" +LIC_FILES_CHKSUM ="file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +9
-0+SECTION = "lib" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" +SRC_URI = "git://github.com/rurban/safeclib.git" + +COMPATIBLE_HOST ='(x86_64|i.86|powerpc|powerpc64|arm|aarch64).*-linux'
Quoted 5 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 14
Quoted 1 line
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-0+I see its excluding mips/mips64 from core supported architectures, is that intentional ?
I'm not sure. This library is required for another component i.e. ipmctl.
Regards,
AnkitQuoted 11 lines
Quoted 10 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-1+RDEPENDS_${PN} = "perl" --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi Raj,
Quoted 16 lines · Khem Raj
Quoted 11 lines · Ankit Navik
Hi Martin,
Quoted 6 lines · Martin Jansa
And there is also:
WARNING: safec-3.4-r0do_populate_lic: safec: No generic license file exists for: safec in any providerAdd the license text to the meta-oe/licenses/ directory.
Quoted 9 lines
Quoted 4 lines
I have already added licenses.
https://patchwork.openembedded.org/patch/161305/
There are no comment on the patch but it is in change requested state.It was part of series where one patch was in that state and was updated and applied but this one missed out resending full series would have helped I will cherry pick this again
Thanks for the information. I will take care next time. and I will submit patch to aarch64 from safec.
Regards,
Ankit
Quoted 220 lines
Quoted 220 lines
Regards,
AnkitOn Tue, Jun 18, 2019 at 8:02 AM Martin Jansa <[email protected]>
Quoted 213 lines
Quoted 211 lines · wrote:
Hi,
it seems to fail for aarch64, I've noticed it in world build for raspberrypi3-64:
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcscpy_s.c -fPIC -DPIC -o wchar/.libs/wcscpy_s.o{standard input}: Assembler messages:
{standard input}:161: Error: unknown mnemonicmemory_barrier' --memory_barrier'
{standard input}:389: Error: unknown mnemonicmemory_barrier' --memory_barrier'
{standard input}:649: Error: unknown mnemonicmemory_barrier' --memory_barrier'
aarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wcsncpy_s.c -fPIC -DPIC -o wchar/.libs/wcsncpy_s.oaarch64-webos-linux-libtool: compile: aarch64-webos-linux-gcc
(quoted diff) +0
-22-mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c ../../git/src/wchar/wmemcpy_s.c -fPIC -DPIC -o wchar/.libs/wmemcpy_s.o../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot(quoted diff) +0
-15-DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c -o wchar/wscanf_s.lo ../../git/src/wchar/wscanf_s.c../aarch64-webos-linux-libtool --tag=CC --mode=compile
aarch64-webos-linux-gcc -mcpu=cortex-a53+crc -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
--sysroot=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot(quoted diff) +0
-15-DHAVE_CONFIG_H -I. -I../../git/src -I.. -I../../git/include -I../include -I../../git/src -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0=/usr/src/debug/safec/3.4-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi3_64-webos-linux/safec/3.4-r0/recipe-sysroot-native= -c -o wchar/vfwscanf_s.lo ../../git/src/wchar/vfwscanf_s.cMakefile:1432: recipe for target 'mem/mem_primitives_lib.lo' failed make[2]: *** [mem/mem_primitives_lib.lo] Error 1 make[2]: *** Waiting for unfinished jobs....
Quoted 70 lines · Ankit Navik
Hi Raj,
Quoted 5 lines · Khem Raj
Quoted 3 lines · Ankit Navik
Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top ofmost
Quoted 11 lines
libc
Review
Quoted 9 lines
implementations, which are missing from them.
Signed-off-by Ankit Navik <[email protected]>--- meta-oe/recipes-core/safec/safec_3.4.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb(quoted diff) +0
-0b/meta-oe/recipes-core/safec/safec_3.4.bb
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 4
Quoted 9 lines
new file mode 100644
index 000000000..d55d081f3meta-oe/recipes-core/safec/safec_3.4.bb new file +4
-0@@ -0,0 +1,15 @@ +SUMMARY = "Safe C Library" + +LICENSE = "safec" +LIC_FILES_CHKSUM ="file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 13
Quoted 9 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +9
-0+SECTION = "lib" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" +SRCREV = "62e6b2df55084316d027165d286e46beb40513dc" +SRC_URI = "git://github.com/rurban/safeclib.git" + +COMPATIBLE_HOST ='(x86_64|i.86|powerpc|powerpc64|arm|aarch64).*-linux'
Quoted 5 lines
meta-oe/recipes-core/safec/safec_3.4.bb line 14
Quoted 1 line
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-0+I see its excluding mips/mips64 from core supported architectures, is that intentional ?
I'm not sure. This library is required for another component i.e. ipmctl.
Regards,
AnkitQuoted 11 lines
Quoted 10 lines
meta-oe/recipes-core/safec/safec_3.4.bb new file +1
-1+RDEPENDS_${PN} = "perl" --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel