All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <tom_rini@mentor.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] samba: Fix build issue on uclibc/arm/thumb
Date: Wed, 26 Jan 2011 07:49:06 -0700	[thread overview]
Message-ID: <4D403462.6060807@mentor.com> (raw)
In-Reply-To: <1296029446-27041-1-git-send-email-raj.khem@gmail.com>

On 01/26/2011 01:10 AM, Khem Raj wrote:
> We get following errors as of now. This patch fixes those
>
> /scratch/oe/sysroots/x86_64-linux/usr/armv5te/lib/gcc/arm-oe-linux-uclibceabi/4.5.3/../../../../arm-oe-linux-uclibceabi/bin/ld:
> /scratch/oe/sysroots/armv5te-oe-linux-uclibceabi/usr/lib//uclibc_nonshared.a(atexit.os)(.text+0x12):
> unresolvable R_ARM_THM_CALL relocation against symbol `__cxa_atexit'
>
> Signed-off-by: Khem Raj<raj.khem@gmail.com>

Acked-by: Tom Rini <tom_rini@mentor.com>

> ---
>   recipes/samba/samba_3.2.15.bb |    3 ++-
>   1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/samba/samba_3.2.15.bb b/recipes/samba/samba_3.2.15.bb
> index ef2707e..214de58 100644
> --- a/recipes/samba/samba_3.2.15.bb
> +++ b/recipes/samba/samba_3.2.15.bb
> @@ -9,7 +9,7 @@ SRC_URI += "file://configure-3.2.8.patch \
>   SRC_URI[md5sum] = "5a3bcc4927c9643b9f42970d0815b18f"
>   SRC_URI[sha256sum] = "84281fd1faeffee8558e49dff865dd382abbf78bc1be00f8cb5aa70aeea67d46"
>
> -PR = "r3"
> +PR = "r4"
>
>   EXTRA_OECONF += "\
>   	SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
> @@ -22,6 +22,7 @@ EXTRA_OECONF += "\
>   	samba_cv_HAVE_WRFILE_KEYTAB=yes \
>   	"
>
> +EXTRA_OECONF_append_libc-uclibc = " --disable-pie"
>   # for arm we always use ARM instruction set
>   # gcc 4.5 ICE's in thumb mode
>   # see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46934


-- 
Tom Rini
Mentor Graphics Corporation



      reply	other threads:[~2011-01-26 14:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26  8:10 [PATCH] samba: Fix build issue on uclibc/arm/thumb Khem Raj
2011-01-26 14:49 ` Tom Rini [this message]

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=4D403462.6060807@mentor.com \
    --to=tom_rini@mentor.com \
    --cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.