comp.lang.ada
 help / color / mirror / Atom feed
From: mhrawcliffe@gmail.com
Subject: Re: Can't get to include AWS
Date: Thu, 4 Jun 2020 13:00:00 -0700 (PDT)
Date: 2020-06-04T13:00:00-07:00	[thread overview]
Message-ID: <ae1c65f7-9354-49c5-a1ae-d3d51e98b5e1o@googlegroups.com> (raw)
In-Reply-To: <59881b30-7469-4214-bac9-7ecc47974398@googlegroups.com>

On Sunday, 30 December 2018 19:46:07 UTC, Andrew Shvets  wrote:
> On Saturday, December 29, 2018 at 3:30:32 PM UTC-5, Simon Wright wrote:
> > Andrew Shvets <andr.......@gmail.com> writes:
> > 
> > > I installed the latest GNAT Community distribution from AdaCore in
> > > ~/GNAT and when I tried to use my *.GPR file in order to build my
> > > code, I encountered the below error:
> > >
> > > unknown project file: "aws"
> > >
> > > In my *.GPR file I did 'with "aws";'.
> > 
> > I have GNAT CE installed under /opt/gnat-ce-2018.
> > 
> > If I don't have /opt/gnat-ce-2018/bin on my PATH but say
> > 
> >    /opt/gnat-ce-2018/bin/gprbuild -P shvets.gpr
> > 
> > where shvets.gpr contains 'with "aws";' I get the same as you.
> > 
> > If I do have /opt/gnat-ce-2018/bin on my PATH and say
> > 
> >    gprbuild -P shvets.gpr
> > 
> > it works fine.
> 
> Thank you!  That did the trick!
> 
> A follow up question, when my projects to the point when it needs to be linked, these are the errors that I see:
> 
> /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/crt1.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002
> /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/crti.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002
> /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/libpthread.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002
> /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/librt.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002
> /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/libdl.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002
> /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /usr/lib/libc.so.6: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002
> /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /usr/lib/libc_nonshared.a(elf-init.oS): unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002
> /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /usr/lib/ld-linux-x86-64.so.2: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002
> /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/crtn.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002
> 
> 
> 
> Any idea what could be causing this?
> 
> Thanks again!

kinda late reply but i just removed the ld binary in GNAT/2020/libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ so that it uses the system ld to link those objects and that removed the errors.

      parent reply	other threads:[~2020-06-04 20:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-28  3:58 Can't get to include AWS Andrew Shvets
2018-12-28  9:23 ` eduardsapotski
2018-12-30 19:39   ` Andrew Shvets
2018-12-29 19:34 ` Björn Lundin
2018-12-30 19:38   ` Andrew Shvets
2018-12-29 20:30 ` Simon Wright
2018-12-30 19:46   ` Andrew Shvets
2018-12-30 21:42     ` Simon Wright
2020-06-04 20:00     ` mhrawcliffe [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox