Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] meson build style prints wrong `Host machine` information
@ 2021-06-16 16:36 ericonr
  2021-06-16 18:28 ` Johnnynator
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ericonr @ 2021-06-16 16:36 UTC (permalink / raw)
  To: ml

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

New issue by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/31527

Description:
With the same cross file generated by `xbps-src -a armv6l-musl`

In a build inside `xbps-src`, for example `wlroots`:

```
Using 'CFLAGS' from environment with value: '-fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard   -I/usr/arm-linux-musleabihf/usr/include'
Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,-z,now -Wl,--as-needed    -L/usr/arm-linux-musleabihf/usr/lib'
Using 'CPPFLAGS' from environment with value: '  '
C compiler for the host machine: arm-linux-musleabihf-gcc (gcc 10.2.1 "arm-linux-musleabihf-gcc (GCC) 10.2.1 20201203")
C linker for the host machine: arm-linux-musleabihf-gcc ld.bfd 2.35.1
Using 'CC_FOR_BUILD' from environment with value: 'cc'
Using 'CFLAGS_FOR_BUILD' from environment with value: '-O2 -pipe'
Using 'LDFLAGS_FOR_BUILD' from environment with value: ''
Using 'CPPFLAGS_FOR_BUILD' from environment with value: ''
C compiler for the build machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20201203")
C linker for the build machine: cc ld.bfd 2.35.1
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: arm
Target machine cpu: armv6l
```

In a build outside `xbps-src`:

```
C compiler for the host machine: arm-linux-musleabihf-gcc (gcc 10.2.1 "arm-linux-musleabihf-gcc (GCC) 10.2.1 20201203")
C linker for the host machine: arm-linux-musleabihf-gcc ld.bfd 2.35.1
C compiler for the build machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20201203")
C linker for the build machine: cc ld.bfd 2.35.1
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: arm
Host machine cpu: armv6l
Target machine cpu family: arm
Target machine cpu: armv6l
```

It shouldn't be a huge issue and I think things are still working correctly (since it's using the correct compiler), would mostly just like to understand what's wrong.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: meson build style prints wrong `Host machine` information
  2021-06-16 16:36 [ISSUE] meson build style prints wrong `Host machine` information ericonr
@ 2021-06-16 18:28 ` Johnnynator
  2021-06-17  2:24 ` ericonr
  2021-06-17  2:24 ` [ISSUE] [CLOSED] " ericonr
  2 siblings, 0 replies; 4+ messages in thread
From: Johnnynator @ 2021-06-16 18:28 UTC (permalink / raw)
  To: ml

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

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/31527#issuecomment-862612936

Comment:
That thing is just a bug that is already fixed upstream. I can't reproduce it with 0.58.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] meson build style prints wrong `Host machine` information
  2021-06-16 16:36 [ISSUE] meson build style prints wrong `Host machine` information ericonr
  2021-06-16 18:28 ` Johnnynator
  2021-06-17  2:24 ` ericonr
@ 2021-06-17  2:24 ` ericonr
  2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2021-06-17  2:24 UTC (permalink / raw)
  To: ml

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

Closed issue by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/31527

Description:
With the same cross file generated by `xbps-src -a armv6l-musl`

In a build inside `xbps-src`, for example `wlroots`:

```
Using 'CFLAGS' from environment with value: '-fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard   -I/usr/arm-linux-musleabihf/usr/include'
Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,-z,now -Wl,--as-needed    -L/usr/arm-linux-musleabihf/usr/lib'
Using 'CPPFLAGS' from environment with value: '  '
C compiler for the host machine: arm-linux-musleabihf-gcc (gcc 10.2.1 "arm-linux-musleabihf-gcc (GCC) 10.2.1 20201203")
C linker for the host machine: arm-linux-musleabihf-gcc ld.bfd 2.35.1
Using 'CC_FOR_BUILD' from environment with value: 'cc'
Using 'CFLAGS_FOR_BUILD' from environment with value: '-O2 -pipe'
Using 'LDFLAGS_FOR_BUILD' from environment with value: ''
Using 'CPPFLAGS_FOR_BUILD' from environment with value: ''
C compiler for the build machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20201203")
C linker for the build machine: cc ld.bfd 2.35.1
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: arm
Target machine cpu: armv6l
```

In a build outside `xbps-src`:

```
C compiler for the host machine: arm-linux-musleabihf-gcc (gcc 10.2.1 "arm-linux-musleabihf-gcc (GCC) 10.2.1 20201203")
C linker for the host machine: arm-linux-musleabihf-gcc ld.bfd 2.35.1
C compiler for the build machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20201203")
C linker for the build machine: cc ld.bfd 2.35.1
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: arm
Host machine cpu: armv6l
Target machine cpu family: arm
Target machine cpu: armv6l
```

It shouldn't be a huge issue and I think things are still working correctly (since it's using the correct compiler), would mostly just like to understand what's wrong.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: meson build style prints wrong `Host machine` information
  2021-06-16 16:36 [ISSUE] meson build style prints wrong `Host machine` information ericonr
  2021-06-16 18:28 ` Johnnynator
@ 2021-06-17  2:24 ` ericonr
  2021-06-17  2:24 ` [ISSUE] [CLOSED] " ericonr
  2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2021-06-17  2:24 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/31527#issuecomment-862865652

Comment:
Yup, fixed with #31529. Thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-17  2:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16 16:36 [ISSUE] meson build style prints wrong `Host machine` information ericonr
2021-06-16 18:28 ` Johnnynator
2021-06-17  2:24 ` ericonr
2021-06-17  2:24 ` [ISSUE] [CLOSED] " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).