From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,30e165cfb56b149d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.73 with SMTP id qs9mr1365123pbc.7.1342603497903; Wed, 18 Jul 2012 02:24:57 -0700 (PDT) Path: b9ni156763758pbl.0!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!border6.newsrouter.astraweb.com!news.astraweb.com!border6.a.newsrouter.astraweb.com!feed.xsnews.nl!border-3.ams.xsnews.nl!plix.pl!newsfeed2.plix.pl!news.mi.ras.ru!goblin2!goblin.stu.neva.ru!feeder3.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: gautier_niouzes@hotmail.com Newsgroups: comp.lang.ada Subject: Re: error running openGL/Ada demo from GLOBE_3D using GNAT 2012 Date: Sun, 15 Jul 2012 19:11:40 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4b22c809-4d41-4d0d-8824-4c335e4e6957@googlegroups.com> <59529bd2-2e93-4512-8867-d8c6ff0ea787@googlegroups.com> <0b653533-6633-43de-a670-8874d7c6ffc1@googlegroups.com> NNTP-Posting-Host: 83.76.124.169 Mime-Version: 1.0 X-Trace: posting.google.com 1342404700 7400 127.0.0.1 (16 Jul 2012 02:11:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 16 Jul 2012 02:11:40 +0000 (UTC) Cc: nma@12000.org In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.76.124.169; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-Received-Bytes: 2827 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-15T19:11:40-07:00 List-Id: Hi Nasser! > Now the bad news :) For the other demo, globe_3d_demo_linux, the > above trick does not work. The error is a build error. Even > though I did gnatclean few times and rebuild things again > and again. > > >LIBGL_ALWAYS_INDIRECT=1 ./globe_3d_demo_linux > > ./globe_3d_demo_linux: Symbol `system__restrictions__run_time_restrictions' has different size in shared object, consider re-linking > > ./globe_3d_demo_linux: Symbol `ada__strings__unbounded__unbounded_stringT' has different size in shared object, consider re-linking > > ./globe_3d_demo_linux: symbol lookup error: ./globe_3d_demo_linux: undefined symbol: __gnat_eh_personality > > I do not know why mini demo works OK, but not this one. So, I think > there is still a library issue here? The executable freshly built is called "globe_3d_demo". Unless you've renamed it, "globe_3d_demo_linux" is still the old 2011 file with fragile shared object linking :-) . NB: the .gpr for next release has now "-static", so you would not get this message in a similar situation.