~eliasnaur/gio

2 2

compilation on ArchLinux - @c68417aa

Sebastien Binet <binet@cern.ch>
Details
Message ID
<CJVYTWE85TW1.2CA9J2V8M4PMX@clrinfopc42>
DKIM signature
missing
Download raw message
hi there,

I am trying to bring gonum/plot back in sync' with the latest
developments of Gio.

unfortunately, on my ArchLinux box (that I recently moved to a Wayland
environment) with an intel card, I am getting:

```
$> cd gioui.org && go build ./...
gioui.org/internal/egl
# gioui.org/internal/egl
/usr/bin/ld: /home/binet/work/gio/pkg/mod/gioui.org/shader@v1.0.6/piet/backdrop_linux_amd64.syso: in function `backdrop_coroutine_begin':
:(.text+0x2b): undefined reference to `coroutine_alloc_frame'
/usr/bin/ld: /home/binet/work/gio/pkg/mod/gioui.org/shader@v1.0.6/piet/backdrop_linux_amd64.syso: in function `backdrop_coroutine_begin.destroy':
:(.text+0x2a42): undefined reference to `coroutine_free_frame'
/usr/bin/ld: /home/binet/work/gio/pkg/mod/gioui.org/shader@v1.0.6/piet/backdrop_linux_amd64.syso: in function `backdrop_coroutine_begin.cleanup':
:(.text+0x2a54): undefined reference to `coroutine_free_frame'
/usr/bin/ld: /home/binet/work/gio/pkg/mod/gioui.org/shader@v1.0.6/piet/binning_linux_amd64.syso: in function `binning_coroutine_begin':
:(.text+0x24): undefined reference to `coroutine_alloc_frame'
/usr/bin/ld: /home/binet/work/gio/pkg/mod/gioui.org/shader@v1.0.6/piet/binning_linux_amd64.syso: in function `binning_coroutine_begin.resume':
:(.text+0x13fe): undefined reference to `floorf'
/usr/bin/ld: :(.text+0x140f): undefined reference to `floorf'
/usr/bin/ld: :(.text+0x1421): undefined reference to `floorf'
/usr/bin/ld: :(.text+0x1434): undefined reference to `floorf'
/usr/bin/ld: :(.text+0x1464): undefined reference to `floorf'
/usr/bin/ld: /home/binet/work/gio/pkg/mod/gioui.org/shader@v1.0.6/piet/binning_linux_amd64.syso::(.text+0x1475): more undefined references to `floorf' follow
/usr/bin/ld: /home/binet/work/gio/pkg/mod/gioui.org/shader@v1.0.6/piet/binning_linux_amd64.syso: in function `binning_coroutine_begin.destroy':
:(.text+0x3622): undefined reference to `coroutine_free_frame'
```

I guess I am either missing a .so (or pkg-config doesn't know about it),
or the versions don't add up.

anybody out there with an ArchLinux+Wayland box, and a set of working
dependencies?

thanks,
-s
Details
Message ID
<CAFcc3FRAkdA08CARq_-UGKQdUjcuGONM3v9Xtqh7wPKVAosS8Q@mail.gmail.com>
In-Reply-To
<CJVYTWE85TW1.2CA9J2V8M4PMX@clrinfopc42> (view parent)
DKIM signature
pass
Download raw message
Hi Sebastien,

I use Arch/Wayland on an Intel GPU as my primary machine, and I've
never experienced this. I'll send you my installed package list
off-list to see if that helps.

Cheers,
Chris
Sebastien Binet <binet@cern.ch>
Details
Message ID
<CJW866H85ESJ.1W9L4BQYQJD0L@clrinfopc42>
In-Reply-To
<CAFcc3FRAkdA08CARq_-UGKQdUjcuGONM3v9Xtqh7wPKVAosS8Q@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
On Tue May 10, 2022 at 16:44 CET, Chris Waldon wrote:
> Hi Sebastien,
>
> I use Arch/Wayland on an Intel GPU as my primary machine, and I've
> never experienced this. I'll send you my installed package list
> off-list to see if that helps.

thanks Chris.

after carefully reviewing the packages, I didn't notice anything out of
the ordinary.

but then, I switched Go compiler versions (from 'tip@2226952b8a' to
go1.18.1), and everything worked.

I don't know whether that's expected or if we do have to follow this up
with go-dev :)

thanks again,
-s
Reply to thread Export thread (mbox)