[SOLVED] Re: LLD_IS_LD: error compiling world after switch: incompatible with /usr/lib/crt1.o ...

2017-12-26 Thread O. Hartmann
Am Tue, 26 Dec 2017 11:36:27 +0100
"O. Hartmann"  schrieb:

> On to boxes running almost the same CURRENT (non-working is at FreeBSD 
> 12.0-CURRENT #241
> r327182: Mon Dec 25 22:45:06 CET 2017 amd64; the working one is at r327183) I 
> dared,
> again, to flip the switch LLD_IS_LD=YES.
> 
> On the box in question building world magically stops and dumping an error 
> sometimes,
> see below. The other one is performing well and build world without problems. 
> I build,
> due to resource limitations, on both systems kernel and world with META_MODE.
> 
> When I switched over to LLD again, I didn't clear the whole obj tree - I do 
> not want
> this since my resources are, as said, limited and build times of 90 minutes 
> is a bit a
> burden at the moment. So, is there probably a workaround to this?
> 
> Thanks in adavnce,
> Oliver
> 
> 
> [...]
> Building /usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libmagic/mkmagic
> --- mkmagic ---
> /usr/bin/ld: error: /usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libz/libz.so is
> incompatible with /usr/lib/crt1.o cc: error: linker command failed with exit 
> code 1 (use
> -v to see invocation) *** [mkmagic] Error code 1
> 
> make[2]: stopped in /usr/src/lib/libmagic
> .ERROR_TARGET='mkmagic'
> .ERROR_META_FILE='/usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libmagic/mkmagic.meta'
> 

Deleting "/usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libz/libz.so" solved the 
problem.

-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).


pgptapGg7FrCl.pgp
Description: OpenPGP digital signature


LLD_IS_LD: error compiling world after switch: incompatible with /usr/lib/crt1.o ...

2017-12-26 Thread O. Hartmann
On to boxes running almost the same CURRENT (non-working is at FreeBSD 
12.0-CURRENT #241
r327182: Mon Dec 25 22:45:06 CET 2017 amd64; the working one is at r327183) I 
dared,
again, to flip the switch LLD_IS_LD=YES.

On the box in question building world magically stops and dumping an error 
sometimes, see
below. The other one is performing well and build world without problems. I 
build, due to
resource limitations, on both systems kernel and world with META_MODE.

When I switched over to LLD again, I didn't clear the whole obj tree - I do not 
want this
since my resources are, as said, limited and build times of 90 minutes is a bit 
a burden
at the moment. So, is there probably a workaround to this?

Thanks in adavnce,
Oliver


[...]
Building /usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libmagic/mkmagic
--- mkmagic ---
/usr/bin/ld: error: /usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libz/libz.so is
incompatible with /usr/lib/crt1.o cc: error: linker command failed with exit 
code 1 (use
-v to see invocation) *** [mkmagic] Error code 1

make[2]: stopped in /usr/src/lib/libmagic
.ERROR_TARGET='mkmagic'
.ERROR_META_FILE='/usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libmagic/mkmagic.meta'

-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).


pgpureIQqpJ4o.pgp
Description: OpenPGP digital signature