ID: | 3882 |
From: | ge...@igor2.repo.hu |
Date: | Tue, 31 Mar 2020 05:49:27 +0200 (CEST) |
Subject: | Re: [pcb-rnd] make test won't build |
in-reply-to: | 3880 from Evan Foss <ev...@gmail.com> |
replies: | 3883 from Evan Foss <ev...@gmail.com> |
Hi Evan, On Mon, 30 Mar 2020, Evan Foss wrote: >`Hi Igor2 > >It seems to fail in the same way but make distclean runs cleaner now. > Looking at the latest logs and knowing my latest fix, plus knowing it breaks only on your system, my theory is this: 1. you once had a configure with the diag plugin enabled 2. then you have build pcb-rnd and you still have a file trunk/src_plugins/diag/diag_conf.o from that old build, probably compiled without -fPIC 3. then you have reconfigured pcb-rnd without the diag module 4. you have compiled all, it went fine, the code didn't use the diag plugin 5. but the conf test depend on one object of the diag plugin, but since your latest configure didn't have it, it's an old, stale object, compiled long ago with the wrong flags 6. make clean or make distclean won't remove that object file, because diag is not configured; svn stat won't show it, because svn has an auto-ignore on object files Alternative for points 1..2: maybe you never had the diag plugin enabled, and the conf test compiled that object in a previous run (before my yesteday fix, using the wrong compiler flags, potnetially with an older gcc you had back then). So please do these to test this theory (please do NOT do anything else, especially not make clean, make distclean, configure): 1. rm trunk/src_plugins/diag/diag_conf.o 2. cd tests/conf && make 3. please mail me the terminal output of step 2 (I won't need any other file this time) TIA, Igor2
Reply subtree:
3882 Re: [pcb-rnd] make test won't build from ge...@igor2.repo.hu
3883 Re: [pcb-rnd] make test won't build from Evan Foss <ev...@gmail.com>