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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Link failure after upgrade from Linux Mint 17.3 to Linux Mint 18 Date: Fri, 07 Oct 2016 20:22:08 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="97b731c393a3b6adeaffb0d6e8195bfd"; logging-data="25833"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6JWiJoCx97By5ORof0xNpJycSZDtw51s=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) Cancel-Lock: sha1:/LQ5bcy6fdQeFzw0QTzRNX5PDj0= sha1:zDJony7FrxHecSt9v4kZusUMeb4= Xref: news.eternal-september.org comp.lang.ada:32039 Date: 2016-10-07T20:22:08+01:00 List-Id: Some Dude writes: > After having upgraded, I cleaned the source directory of a project > that also uses AUnit, and now I get the following error: > > /home/nemo/Applications/adagpl-2016/gnatgpl/gnat-gpl-2016-x86_64-linux-bin/bin/../libexec/gcc/x86_64-pc-linux-gnu/4.9.4/ld: > /usr/lib/x86_64-linux-gnu/crti.o: unrecognized relocation (0x2a) in > section `.init' > /home/nemo/Applications/adagpl-2016/gnatgpl/gnat-gpl-2016-x86_64-linux-bin/bin/../libexec/gcc/x86_64-pc-linux-gnu/4.9.4/ld: > final link failed: Bad value > collect2: error: ld returned 1 exit status > gprbuild: link of bham_harness.adb failed > [2016-10-07 20:06:46] process exited with status 4, 100% (22/22), > elapsed time: 02.33s > > Does anybody know what causes it? Not sure, but I'm pretty sure you haven't installed the compiler per the instructions in the README. May not help, though.