Commit Graph

34 Commits

Author SHA1 Message Date
Khem Raj
7d9553a0f7 riscv32: Enable recipes which are now buildable with latest OE
Most of them were failing due to g-i errors which are now fixed in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-18 11:26:40 -08:00
Khem Raj
142e77959d layer.conf: Add 3.3 release series to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 09:51:17 -08:00
Khem Raj
f4107d92c3 layer.conf: Drop older releases from supported LAYERSERIES_COMPAT
gatesgarth is current release (3.2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 09:51:17 -08:00
Khem Raj
e9e1990f35 qtbase: Ignore textrels for rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 09:51:17 -08:00
Khem Raj
4d06338812 poppler: Ignore textrel QA errors for rv64/rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-20 20:57:03 -07:00
Khem Raj
d5723e6979 layer.conf: Add gatesgarth to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-15 13:42:01 -07:00
Khem Raj
d9b1569703 cmocka: Ignore textrels
There are texrels in tests
ERROR: QA Issue: cmocka-ptest: ELF binary /usr/lib/cmocka/ptest/tests/test_strmatch has relocations in .text
cmocka-ptest: ELF binary /usr/lib/cmocka/ptest/tests/test_strmatch has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-05 10:22:10 -07:00
Khem Raj
ec2c3d1104 ltp: Enable buids on rv32/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-05 10:22:10 -07:00
Khem Raj
ff16e38107 layer.conf: Exclude failing recipes from builds on rv32
These need to be fixed in due couese, for now ignore them in world
builds for rv32 machines

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-12 13:50:07 -07:00
Khem Raj
e655c2f7f2 doxygen: Ignore textrel for now
This will be better with next binutils but until then we live with this

Fixes
doxygen-1.8.20: doxygen: ELF binary /usr/bin/doxygen has relocations in .text
doxygen: ELF binary /usr/bin/doxygen has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-12 13:50:07 -07:00
Alistair Francis
1faef0e153 qt5-layer: Remove Qt5 overides
meta-qt5 now has the same overides upstream, let's remove them for
meta-riscv.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-09-02 19:18:44 -07:00
Khem Raj
5cc6fe3632 ltp: Fix build on rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-29 16:27:09 -07:00
Khem Raj
1950ff1ca4 layer.conf: Ignore textrel for few more recipes
The real issue is in binutils/ld inserting R_RISCV_NONE which is then
caught by textrel checker, there are binutils bugs to address this
[1] [2]

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=24676
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=24673

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-21 19:35:56 -07:00
Khem Raj
ad387e4b63 conf/layer.conf: Disable textrel for qtbase
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-17 22:56:58 -07:00
Khem Raj
0fd7aabf75 conf/layer.conf: Add gdb/perf to exception list for textrel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-17 22:56:58 -07:00
Khem Raj
32545e3bae layer.conf: Skip textrel for eudev on rv64
Build QA complains
ERROR: eudev-3.2.9-r0 do_package_qa: QA Issue: eudev: ELF binary /usr/bin/udevadm has relocations in .text
eudev: ELF binary /usr/libexec/udevadm has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-13 17:08:56 -07:00
Khem Raj
5bd3c383e1 layer.conf: Mark layer 3.1 compatible
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-24 14:57:55 -07:00
Jeremy Puhlman
0cc3fb1439 openocd: Move to dynamic-layer for meta-oe
currently meta-riscv does not parse unless meta-oe is present.
It does not appear that anything explictly depends on openocd
in the layer.

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
2020-02-21 18:11:01 -08:00
Alistair Francis
30fb686058 dynamic-layers: Add a xvisor hypervisor bbappend
Add a Xvisor bbappend that builds the initrd used by Xvisor.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-02-12 12:24:01 -08:00
Alistair Francis
91f6a2afbc layer.conf: Mark as compatible with zeus
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-10-08 15:42:42 -07:00
Khem Raj
04e6b2c12e riscv: Enable SECURITY_CFLAGS and GLIBC PIE for rv32/rv64
GCC PIE works fine

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-16 18:01:10 -07:00
Khem Raj
4c57b60dbe Do not disable GCCPIE
It seems to work fine with gcc9 and clang 9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-15 15:48:09 -07:00
Khem Raj
ac17429667 layer.conf: Mark master warrior and newer compatible only
we are now getting changes which are in master ( would be 2.8 ) release
so its important to let users know that they can no longer use master
with older releases

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-21 09:29:22 -07:00
Khem Raj
682f56e1b8 layer.conf: Add 1.7 (warrior) to compatible releases
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-26 14:55:18 -07:00
Khem Raj
155202886e layer.conf: Disable PIE for riscv32 as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-26 14:55:18 -07:00
Khem Raj
c7887bcfed layer.conf: Drop setting SECURITY_FLAGS form now defunct riscv-pk recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-26 14:55:18 -07:00
Khem Raj
643ab0b4c4 Add qt5 to dynaic layers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-12 21:44:07 -07:00
Khem Raj
242e34d573 layer.conf: Do not lock to gcc
clang 8.0 does have risc-v backend

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 14:00:23 -08:00
Khem Raj
e5215d85c9 layer.conf: Add thud to compatible layer series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-26 18:29:57 -07:00
Khem Raj
1d3ade5e42 layer.conf: Disable clang when meta-clang is present
Force toolchain to use gcc for riscv64.
We dont have full riscv support in upstream clang
as _yet_

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 12:54:23 -07:00
Khem Raj
a4a81b0abc riscv64: Disable ssp and fortify flags
They result in linking errors, -fstack-protector-strong wants libssp

libdrm errors when using -fstack-protector-strong

drm@sha/xf86drmSL.c.o: relocation R_RISCV_HI20 against `__stack_chk_guard@@GLIBC_2.27' can not be used when making a shared object; recompile with -fPIC

libdrm errors when using fortify options

rm@sha/xf86drm.c.o(.text+0x3ce2): unresolvable R_RISCV_CALL relocation against symbol `strdup@@GLIBC_2.27'

For now just disable the whole shebang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-21 11:49:53 -07:00
Khem Raj
fb8ad42aee Disable PIE
It needs some work in glibc "to be looked"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-21 15:30:37 -07:00
Khem Raj
8a371c99d5 layer.conf: add LAYERSERIES_COMPAT
We need sumo or newer release of OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-04-06 07:56:25 -07:00
Khem Raj
ffe8d5e864 riscv: This is where it all begins...
I'll explain when you're older!

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-10-04 10:09:23 -07:00