[build2] build w gcc 8.1.1 + c++1y fails

MM finjulhich at gmail.com
Sun Sep 9 03:01:55 UTC 2018


On Sat, 8 Sep 2018 at 18:50, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> MM <finjulhich at gmail.com> writes:
>
> > Please see attached. All output went to stderr, nothing to stdout.
>
> Great, thanks, we are getting closer. Now could you run the following
> command:
>
> $ g++
> -I/usr/local/build/build2/build2-toolchain-0.8.0-a.0.20180907154828.9ac4fed76dca/libbutl
> -I/usr/local/build/build2/build2-toolchain-0.8.0-a.0.20180907154828.9ac4fed76dca/libbutl
> -DLIBBUTL_STATIC
> -I/usr/local/build/build2/build2-toolchain-0.8.0-a.0.20180907154828.9ac4fed76dca/libpkgconf
> -DPKGCONFIG_IS_STATIC
> -I/usr/local/build/build2/build2-toolchain-0.8.0-a.0.20180907154828.9ac4fed76dca/build2
> -I/usr/local/build/build2/build2-toolchain-0.8.0-a.0.20180907154828.9ac4fed76dca/build2
> -std=c++2a -MQ ^ -x c++ -MD -E -fdirectives-only -MF
> /usr/local/build/build2/build2-toolchain-0.8.0-a.0.20180907154828.9ac4fed76dca/build2/build2/config/init.o.t
> -o /tmp/init.o.ii
> /usr/local/build/build2/build2-toolchain-0.8.0-a.0.20180907154828.9ac4fed76dca/build2/build2/config/init.cxx
>
> It should produce /tmp/init.o.ii. Could you compress and send this
> file?


cwd is
/usr/local/build/build2/build2-toolchain-0.8.0-a.0.20180907154828.9ac4fed76dca/build2
so I ran this command:
g++ -I../libbutl -DLIBBUTL_STATIC -I../libpkgconf -DPKGCONFIG_IS_STATIC -I.
-std=c++2a -MQ ^ -x c++ -MD -E -fdirectives-only -MF build2/config/init.o.t
-o /tmp/init.o.ii build2/config/init.cxx

which is the same except for the paths being relative.
I notice the above is compiled in c++2a mode instead of c++1y

plz see attached ,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20180909/f58552a0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init.o.ii.gz
Type: application/gzip
Size: 687464 bytes
Desc: not available
URL: <https://lists.build2.org/archives/users/attachments/20180909/f58552a0/attachment-0001.gz>


More information about the users mailing list