[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc -menable-experimental-extensions ?



On Fri, Jul 8, 2022 at 4:45 PM Bo YU <tsu.yubo@gmail.com> wrote:
>
> >>      Path: '/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/aligned_allocator_test'
> >>      Result: Illegal instruction
> >>      Output:
> >>
> >> The full log is attached.
> >
> >Thanks much for the full log, that helps. I've seen this bug once in a
> >while, I am not clear how this happens.
> >
> >Could you do me yet another favor and try again with an extra env var :
> >
> >export DEB_BUILD_OPTIONS="parallel=1"
>
> Oops. It was the same error from my view:(

Odd. I cannot see DEB_BUILD_OPTIONS in your log. Did you post the correct one ?

Here is what I see on my side in your log:

<snip>
User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LC_ALL=C.UTF-8
LOGNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SCHROOT_ALIAS_NAME=sid-riscv64-sbuild
SCHROOT_CHROOT_NAME=sid-riscv64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=0
SCHROOT_GROUP=root
SCHROOT_SESSION_ID=sid-riscv64-sbuild-4547f84c-7312-4265-a682-ce0b46c6bbad
SCHROOT_UID=0
SCHROOT_USER=root
SHELL=/bin/sh
USER=root
<snip>

Later in the log file I see:

<snip>
cd obj-riscv64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v
<snip>

which indicate 4 parallel jobs, please reduce to one.

I believe `DEB_BUILD_OPTIONS` is properly implemented, as I see it
currently in action on sh4:

* https://buildd.debian.org/status/fetch.php?pkg=highway&arch=sh4&ver=0.17.1%7Egit20220707.b0108ff-1&stamp=1657191458&raw=0

<snip>
DEB_BUILD_OPTIONS=nobench nocheck parallel=2
[...]
cd obj-sh4-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
<snip>

Thanks for your help

> Bo
> >
> >thanks again
>
> --
> Best Regards,
>


Reply to: