Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2013 14:19:10 +0200
From:      Florent Peterschmitt <florent@peterschmitt.fr>
To:        freebsd-stable@freebsd.org
Subject:   Re: Error in make buildkernel `
Message-ID:  <51B5C43E.5000001@peterschmitt.fr>
In-Reply-To: <20130610121401.GA64063@icarus.home.lan>
References:  <51B5C0EB.6050803@digiware.nl> <20130610121401.GA64063@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2HDOMADQWQLDOSMBBXNRI
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Le 10/06/2013 14:14, Jeremy Chadwick a =E9crit :
> On Mon, Jun 10, 2013 at 02:04:59PM +0200, Willem Jan Withagen wrote:
>> I'm trying to build a stable kernle on a freshly build 8.4-Stable i386=

>> system.
>>
>> And I get:
>> MAKE=3Dmake sh /usr/srcs/src9/src/sys/conf/newvers.sh GENERIC
>> /usr/local/bin/svnversion
>> cc -c -O -pipe  -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs=

>> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
>> -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
>> -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I.
>> -I/usr/srcs/src9/src/sys -I/usr/srcs/src9/src/sys/contrib/altq -D_KERN=
EL
>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
>> -finline-limit=3D8000 --param inline-unit-growth=3D100 --param
>> large-function-growth=3D1000  -mno-align-long-strings
>> -mpreferred-stack-boundary=3D2 -mno-mmx -mno-sse -msoft-float
>> -ffreestanding -fstack-protector -Werror  vers.c
>> ctfconvert -L VERSION -g vers.o
>> linking kernel.debug
>> ld:/usr/srcs/src9/src/sys/conf/ldscript.i386:66: syntax error
>> *** Error code 1
>>
>> Stop in /usr/obj/usr/srcs/src9/src/sys/GENERIC.
>> *** Error code 1
>>
>> Stop in /usr/srcs/src9/src.
>> *** Error code 1
>>
>> Line 66 is:   .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) }
>> The piece of "code" around line 66 looks like:
>>
>>   PROVIDE (__etext =3D .);
>>   PROVIDE (_etext =3D .);
>>   PROVIDE (etext =3D .);
>>   .rodata         : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
>>   .rodata1        : { *(.rodata1) }
>>   .eh_frame_hdr : { *(.eh_frame_hdr) }
>>   .eh_frame       : ONLY_IF_RO { KEEP (*(.eh_frame)) }
>>   .gcc_except_table   : ONLY_IF_RO { *(.gcc_except_table
>> .gcc_except_table.*) }
>>   /* Adjust the address for the data segment.  We want to adjust up to=

>>      the same address within the page on the next page up.  */
>>   . =3D ALIGN (CONSTANT (MAXPAGESIZE)) - ((CONSTANT (MAXPAGESIZE) - .)=
 &
>> (CONSTANT (MAXPAGESIZE) - 1)); . =3D DATA_SEGMENT_ALIGN (CONSTANT
>> (MAXPAGESIZE), CONSTANT (COMMONPAGESI
>> ZE));
>>   /* Exception handling  */
>>
>> Any suggestions on how to fix this??
>=20
> I can't help with the actual syntax error, but from the path names
> involved here, it looks like you:
>=20
> 1) are using an alternate location for src (/usr/srcs not /usr/src),

For that we can do:

SRC_BASE=3D/usr/srcs/src9/src make <target>

But it shouldn't be a problem to build base system, it should occur only
with ports.

--=20
Florent Peterschmitt           | Please:
florent@peterschmitt.fr        |  * Avoid HTML/RTF in E-mail
+33 (0)6 64 33 97 92           |  * PDF for documents
http://florent.peterschmitt.fr | Thank you :)


------enig2HDOMADQWQLDOSMBBXNRI
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJRtcQ+AAoJEMtO2Sol0IIm8noH/25qHMiEOaL/tK8H4pS9iM2t
d3i5xJQXzd5UTV7ik5w2IFD23Ry0niRonTAtsrzqZ37Pqg+sgdNJj0YZPkvvLgAn
7Zmml0M7s2zQPybOp9AfL/mAELeujTz23khjcTVPAEUnJqJnUNMUBEIAdMfhG5rj
n6O8QbBGXH3yzRSG3auYJh8Y1UQ8nnzN23fs8IIFtK0OVZppVtuw2U7y6kvrx6rw
I37CZW6HrBrPP1GRvxE8bMCTy5gOCJbOjKAuH6SS9y/vX5QsvvxHmmdk39E1clFw
SNSfQ4QXsKXtz35vCqtJE1yynpfPx6Yd2IB/EjoRoYuFwbeVMBhky8QmicmLckE=
=7bi+
-----END PGP SIGNATURE-----

------enig2HDOMADQWQLDOSMBBXNRI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51B5C43E.5000001>