Re: Kernel Link issue

From: Larry Rosenman <ler_at_lerctr.org>
Date: Mon, 06 Jul 2015 16:17:23 -0500
On 2015-07-06 16:12, O. Hartmann wrote:
> Am Sun, 05 Jul 2015 09:42:16 -0500
> Larry Rosenman <ler_at_lerctr.org> schrieb:
> 
>> On 2015-07-05 04:14, O. Hartmann wrote:
>> > Am Sat, 04 Jul 2015 18:56:31 -0500
>> > Larry Rosenman <ler_at_lerctr.org> schrieb:
>> >
>> >> --- kernel.debug ---
>> >> linking kernel.debug
>> 
>> >
>> > I see the same here on most recen source (r285155).
>> >
>> > The failure occurs when device nvme and device nvd are enabled in
>> > kernel. On another
>> > system, exact with the same source revision, without both optionis
>> > enabled in the kernel
>> > the world and kernel built well.
>> >
>> > Regards,
>> > O. Hartmann
>> 
>> This also happens if you have options ZFS.
>> 
>> I saw some complaints from make about the linker files:
>> cd /usr/obj/usr/src/sys/VT-LER; MAKEOBJDIRPREFIX=/usr/obj
>> MACHINE_ARCH=amd64  MACHINE=amd64  CPUTYPE=
>> GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/u
>> sr/bin  
>> GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
>>   GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
>> _LDSCRIPTROOT
>> =  VERSION="FreeBSD 11.0-CURRENT amd64 1100077"  INSTALL="sh
>> /usr/src/tools/install.sh"
>> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src
>> /tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
>> CC="cc
>>   " CXX="c++  "  DEPFLAGS=""  CPP="cpp "  AS="as" AR="ar" LD="ld" 
>> NM=nm
>> OBJDUMP=objdump OBJCOPY="objcopy"  RANLIB=ranlib STRINGS=  SIZE="size"
>> make
>>    -j 20 -J 15,16 -m /usr/src/share/mk  KERNEL=kernel cleandir
>> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 3797: warning:
>> duplicate script for target "nvpair.ln" ignored
>> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 1914: warning:
>> using previous script for "nvpair.ln" defined here
>> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 3800: warning:
>> duplicate script for target "nvpair.o" ignored
>> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 1918: warning:
>> using previous script for "nvpair.o" defined here
>> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 3801: warning:
>> duplicate script for target "nvpair.o" ignored
>> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 1918: warning:
>> using previous script for "nvpair.o" defined here
>> 
>> 
> 
> I need to correct: it only happens when options ZFS is in the kernel!
> My first (false)
> statement was wrong and is obsolete.
> 
> The problem still persists in r 285220.
> 
> O. Hartmann
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356

has a patch that fixes is.
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler_at_lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
Received on Mon Jul 06 2015 - 19:17:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC