Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2015 14:23:23 +0200
From:      Bartosz Szczepanek <bsz@semihalf.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-arm@freebsd.org, Marcin Wojtas <mw@semihalf.com>, ian@freebsd.org
Subject:   Re: [armv5] buildkernel issue on stable/10 - Sheevaplug
Message-ID:  <CABLO=%2BmwGmkfQ8Lu66uR41bV9=%2B08A%2BFSrTHXYb7x3HFP%2BcGMQ@mail.gmail.com>
In-Reply-To: <CABLO=%2BkPUuxPDH2AXDSCrKtiPYtvc1%2Bf3zDoWcGpj6j8M0uGrg@mail.gmail.com>
References:  <CABLO=%2BkEhWwOGXoQ3LWGXkEm3caQC3gBxjibi7YML407G1en0g@mail.gmail.com> <4BE288C2-42EF-4D43-AFE5-E7685F8E7E63@bsdimp.com> <CABLO=%2BkPUuxPDH2AXDSCrKtiPYtvc1%2Bf3zDoWcGpj6j8M0uGrg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner,

it seems that my config binary didn't get rebuilded after make clean
and make buildkernel, therefore old version remained. After removing
content of build directory it worked. Commit you mentioned is in tree
indeed: https://github.com/freebsd/freebsd/commit/6c9b54c869088edab9c4bed15=
049c9e3aa3f99ae
Thanks for your effort.

Best regards,
Bartosz Szczepanek

2015-08-05 9:34 GMT+02:00 Bartosz Szczepanek <bsz@semihalf.com>:
> Hello,
> [bsz@x10-fbsd ~]$
> ~/build/arm.arm/usr/home/bsz/freebsd/tmp/usr/home/bsz/freebsd/usr.sbin/co=
nfig/config
> -V
> 600013
>
> 2015-08-04 17:22 GMT+02:00 Warner Losh <imp@bsdimp.com>:
>>
>>> On Aug 4, 2015, at 8:18 AM, Bartosz Szczepanek <bsz@semihalf.com> wrote=
:
>>>
>>> Hello,
>>>
>>> I'm building stable/10 kernel for Sheevaplug, using default
>>> configuration (sys/arm/conf/SHEEVAPLUG). On linking stage issue of
>>> undefined references emerges (log attached). These references lead to
>>> files with '!armv6' option in sys/conf/files.arm. Supossedly config
>>> tool doesn't support negation in options (this is the only occurence
>>> of exclamation mark in sys/conf/files*), even though this Ian's patch
>>> was introduced:
>>> https://lists.freebsd.org/pipermail/svn-src-head/2014-November/065302.h=
tml
>>>
>>> Changing 'optional' to 'standard' solves the issue on armv5 platform,
>>> as well as reverting to old 'cpu_*' settings. Build command I used was
>>> 'make -j5 buildkernel TARGET=3Darm -DNO_MODULES KERNCONF=3DSHEEVAPLUG',
>>> but I tried with MACHINE_ARCH=3Darm and TARGET_ARCH=3Darm as well with =
no
>>> effect.
>>>
>>> Please, let me know if this issue can be solved in more generic way
>>> than described above.
>>
>> What version does config claim to be on stable/10? config does support t=
hat
>> stuff  (Ian and I added it and hashed out the bugs 9 months ago). I thou=
ght it had
>> been MFC=E2=80=99d.
>>
>> Warner
>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABLO=%2BmwGmkfQ8Lu66uR41bV9=%2B08A%2BFSrTHXYb7x3HFP%2BcGMQ>