All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Bug 1791796 <1791796@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1791796] Re: unimplemented thread syscalls in nios2 user-mode emulation
Date: Tue, 11 Sep 2018 20:03:50 +0100	[thread overview]
Message-ID: <87r2hzc0vd.fsf@linaro.org> (raw)
In-Reply-To: <153668006744.31966.11333457437734513810.malone@soybean.canonical.com>


Sandra Loosemore <1791796@bugs.launchpad.net> writes:

> If you need a Nios II GNU/Linux toolchain, I think the most recent
> CodeBench Lite release will work:
>
> https://sourcery.mentor.com/GNUToolchain/subscription42545

Hmm I tried automating that but it seems the installer has GTK
dependencies!?

  Setup:
  GTK+ Version Check
  Setup:
  An error has occurred. See the log file
  /root/.mentor/logs/20180911185933/.metadata/.log.
  root@0ef91b5e50f2:/opt# cat /root/.mentor/logs/20180911185933/.metadata/.log
  !SESSION 2018-09-11 18:59:36.197 -----------------------------------------------
  eclipse.buildId=unknown
  java.version=1.8.0_102
  java.vendor=Oracle Corporation
  BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
  Framework arguments:  -install.once -install.data=/root/.mentor
  Command-line arguments:  -os linux -ws gtk -arch x86 -install.once -install.data=/root/.mentor -data /root/.mentor/logs/20180911185933

  !ENTRY org.eclipse.osgi 4 0 2018-09-11 18:59:37.407
  !MESSAGE Application error
  !STACK 1
  java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
          /tmp/sourceryg++-2018.05-5-nios2-linux-gnu.bin_sfx.f9eaefb7/installer/configuration/org.eclipse.osgi/148/0/.cp/libswt-pi-gtk-4530.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
          no swt-pi-gtk in java.library.path
          Can't load library: /root/.swt/lib/linux/x86/libswt-pi-gtk-4530.so
          Can't load library: /root/.swt/lib/linux/x86/libswt-pi-gtk.so
          /root/.swt/lib/linux/x86/libswt-pi-gtk-4530.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

Should I just try the tarball approach?

> We're planning on adding user-mode QEMU to the upcoming 2018.11
> release....  that's actually what I've been testing it for.  Results on
> the GCC testsuite actually don't look too bad,

OK - I'm a little surprised given the failures I saw in our own
test/tcg/multiarch but it's totally possible that:

  - the buildroot toolchain if foobar
  - the (ancient) tests need tweaking

but it would be nice if we get to a point that QEMU's internal
linux-user tests also pass.

> but I have a patch I
> haven't submitted yet that's required to make the GDB stub work, and
> there are a lot of GDB test failures I haven't triaged yet.

When you do post the gdb patch feel free to CC me as I've poked around
in that before.

--
Alex Bennée

  reply	other threads:[~2018-09-11 19:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-10 19:16 [Qemu-devel] [Bug 1791796] [NEW] unimplemented thread syscalls in nios2 user-mode emulation Sandra Loosemore
2018-09-11  8:49 ` Alex Bennée
2018-09-11  9:27   ` Thomas Huth
2018-09-11  9:57     ` Alex Bennée
2018-09-11 14:06 ` [Qemu-devel] [RFC PATCH 0/4] Add Nios II cross-compiler and enable tests/tcg Alex Bennée
2018-09-11 14:06   ` [Qemu-devel] [RFC PATCH 1/4] docker: add debian-buildroot-base Alex Bennée
2018-09-11 14:06   ` [Qemu-devel] [RFC PATCH 2/4] docker: add buildroot-nios2-cross image Alex Bennée
     [not found]     ` <6ef6c4bb-7f29-efef-f8b9-478880c78c8f@amsat.org>
2018-10-01  9:05       ` Alex Bennée
2018-09-11 14:06   ` [Qemu-devel] [RFC PATCH 3/4] linux-user/nios2: bump min uname to 4.16.0 [!HACK] Alex Bennée
2018-09-11 14:14     ` Laurent Vivier
2018-09-11 14:27       ` Marek Vasut
2018-09-11 15:08         ` Alex Bennée
2018-09-11 15:30           ` Marek Vasut
2018-09-12 10:19             ` Alex Bennée
2018-09-11 14:40       ` [Qemu-devel] [Bug 1791796] " Alex Bennée
2018-09-11 14:46         ` [Qemu-devel] " Laurent Vivier
2018-09-11 14:06   ` [Qemu-devel] [RFC PATCH 4/4] tests/tcg: add nios2 architecture (NEEDS FIXES) Alex Bennée
2018-09-11 15:34 ` [Qemu-devel] [Bug 1791796] Re: unimplemented thread syscalls in nios2 user-mode emulation Sandra Loosemore
2018-09-11 19:03   ` Alex Bennée [this message]
2020-11-13 15:53 ` Thomas Huth
2021-01-13  4:17 ` Launchpad Bug Tracker
2021-01-13  7:59 ` Philippe Mathieu-Daudé

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=87r2hzc0vd.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=1791796@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.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.