From: Joel Sherrill <joel.sherrill@oarcorp.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: [PATCH 1/1] erc32 sim: Add libdl to build of sis
Date: Mon, 18 Aug 2014 22:13:00 -0000 [thread overview]
Message-ID: <53F27A7E.8000205@oarcorp.com> (raw)
In-Reply-To: <13304922.YQySRetGzW@vapier>
On 8/17/2014 8:20 AM, Mike Frysinger wrote:
> On Fri 15 Aug 2014 08:13:24 Joel Sherrill wrote:
>> On 8/14/2014 7:30 PM, Mike Frysinger wrote:
>>> On Thu 14 Aug 2014 17:21:06 Joel Sherrill wrote:
>>>> sis failed to link on Fedora 20 because it was not linking against
>>>> libdl. There may be a better way but this does work.
>>> can you post some errors ? the only sim that actually uses libdl is the
>>> Blackfin one. i suspect the dl usage is coming from another binutils lib
>>> (like bfd?) which means the fix is not this :).
>> I just saw the sparc failure and fixed it. Once I saw that all of our
>> targets with simulators enabled failed like this (from v850), I was pretty
>> sure I had fixed a symptom and not the root cause.
> Roland just regenerated the sim configure files due to changes in the common
> plugin/dlfcn logic. i guess pull the latest repo and see if you still have
> troubles building ?
This seemed to fix all but the ppc.
gcc -g -O2 -static-libstdc++ -static-libgcc -o psim main.o libsim.a
../../bfd/libbfd.a ../../libiberty/libiberty.a -lz
../../bfd/libbfd.a(plugin.o): In function `try_load_plugin':
/users/joel/test-gcc/b-powerpc-rtems4.11-bin/bfd/../../binutils-gdb/bfd/plugin.c:168:
undefined reference to `dlopen'
/users/joel/test-gcc/b-powerpc-rtems4.11-bin/bfd/../../binutils-gdb/bfd/plugin.c:175:
undefined reference to `dlsym'
/users/joel/test-gcc/b-powerpc-rtems4.11-bin/bfd/../../binutils-gdb/bfd/plugin.c:171:
undefined reference to `dlerror'
> -mike
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
prev parent reply other threads:[~2014-08-18 22:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-14 22:21 Joel Sherrill
2014-08-14 22:37 ` Joel Sherrill
2014-08-15 0:30 ` Mike Frysinger
2014-08-15 13:13 ` Joel Sherrill
2014-08-17 13:20 ` Mike Frysinger
2014-08-18 22:13 ` Joel Sherrill [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=53F27A7E.8000205@oarcorp.com \
--to=joel.sherrill@oarcorp.com \
--cc=gdb@sourceware.org \
--cc=vapier@gentoo.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