public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Sundeep KOKKONDA" <sundeep.kokkonda@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] rust-cross-canadian: Fix for the linker issues caused by using the shell
Date: Mon, 05 Sep 2022 00:12:35 -0700	[thread overview]
Message-ID: <8827.1662361955840912678@lists.openembedded.org> (raw)
In-Reply-To: <a4f110ea41a9653e8fe894fabc7bf5a180bca30f.camel@linuxfoundation.org>

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

Hello Richard,

Using CC args causing linker error " unknown executable format " so I called linker directly.
Also, I wrote my initial code without any hardcoded symbols and that test code works in my local machine but when the same code executed in Yocto build environment SIGSEGV faults are reported. And to debug the issue in Yocto build environment the printf/echo outputs are not shown in console/log file. So, I modified my code to check whether this solution works in AB machine or not.

Can you let me know what is the error in AB machine with unsetenv("LD_LIBRARY_PATH"); ? Is it the same relocation error?

Thanks,
Sundeep K.

[-- Attachment #2: Type: text/html, Size: 754 bytes --]

  reply	other threads:[~2022-09-05  7:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-04 18:09 [PATCH] rust-cross-canadian: Fix for the linker issues caused by using the shell Sundeep KOKKONDA
2022-09-04 18:12 ` Sundeep KOKKONDA
2022-09-04 21:34 ` [OE-core] " Richard Purdie
     [not found] ` <1711C5DF821D6301.14041@lists.openembedded.org>
2022-09-04 22:01   ` Richard Purdie
2022-09-05  7:12     ` Sundeep KOKKONDA [this message]
2022-09-05 11:53       ` Richard Purdie
2022-09-06 12:21         ` Randy MacLeod

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8827.1662361955840912678@lists.openembedded.org \
    --to=sundeep.kokkonda@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox