On Fri, Nov 20, 2020 at 9:33 AM Richard Purdie <[email protected]> wrote: > > On Fri, 2020-11-20 at 16:33 +0000, Richard Purdie via > lists.openembedded.org wrote: > > On Fri, 2020-11-20 at 00:15 -0800, Khem Raj wrote: > > > Define CXX_FOR_TARGET and CC_FOR_TARGET for target go > > > since we are cross building it, it helps in defining the compiler > > > for cgo on target > > > > > > Disable CGO_LDFLAGS for go-runtime since it confuses the linker > > > > > > Fixes > > > > Building std for target, linux/arm. > > > > go build runtime/cgo: invalid flag in go:cgo_ldflag: -Wl,-O1 > > > > > > Signed-off-by: Khem Raj <[email protected]> > > > --- > > > v2: Fix go-runtime build > > > > Various failures in world builds: > > > > musl x86: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/2728 > > musl x86-64: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/2731 > > no-x11: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/2729 > > and selftests: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/1582 > > Cheers,
thanks I can see some of it locally too. will deep dive there is something quirky with CGO flags > > Richard >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#144879): https://lists.openembedded.org/g/openembedded-core/message/144879 Mute This Topic: https://lists.openembedded.org/mt/78385121/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
