[build2] build w gcc 8.1.1 + c++1y fails ( also gcc 8.2 )

MM finjulhich at gmail.com
Mon Dec 31 22:46:19 UTC 2018


On Wed, 3 Oct 2018 at 09:17, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> MM <finjulhich at gmail.com> writes:
>
> > > Thanks! We've tried to compile it with "g++ (GCC) 8.1.1 20180502 (Red
> Hat
> > > 8.1.1-1)" which is the closest to yours we could find. No errors. So it
> > > looks like a fairly recent regression in GCC. Before I file a bug
> report,
> > > can you confirm that this produces the error for you:
> > >
> > > g++ -DLIBBUTL_STATIC -DPKGCONFIG_IS_STATIC -std=c++2a -o init.o -c
> > > -fdirectives-only init.o.ii
> >
> > Yes it produces the errors. attached.
>
> Sorry for the delay in getting back to you on this.
>
> We've initially thought this has something to do with newer GCC but now
> we've tested with GCC 8.2 (on Debian) and everything works fine. So I
> think this has something to do with your environment, most likely locale.
>
> Could you therefore do the following:
>
>
> 1. Send the output of locale:
>
>   $ locale

LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=


> 2. Override the locale for the install script and see if that helps:
>
>   $ LC_ALL=C sh build2-install-X.Y.Z.sh <http://build2-install-x.y.z.sh/>

I have built with bpkg this time

bpkg build odb at https://pkg.cppget.org/1/beta

Should I then just try

LC_ALL=C bpkg build odb at https://pkg.cppget.org/1/beta

Will LC_ALL propagate to subprocesses?

Thank you,

MM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20181231/4d303790/attachment.html>


More information about the users mailing list