Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2006 15:46:37 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Pav Lucistnik <pav@FreeBSD.org>
Cc:        Matteo Riondato <matteo@FreeBSD.org>, locnar@locnar.net, freebsd-amd64@FreeBSD.org
Subject:   Re: amd64/97184: Error compiling 6.1 zlib module (kernel) on 5.4 AMD64 Machine
Message-ID:  <20060609154155.U60598@carver.gumbysoft.com>
In-Reply-To: <1149432000.34244.0.camel@ikaros.oook.cz>
References:  <200606021333.k52DXOQ8038454@freefall.freebsd.org> <1149432000.34244.0.camel@ikaros.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1935939020-1149893197=:60598
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Sun, 4 Jun 2006, Pav Lucistnik wrote:

> Matteo Riondato p=ED=B9e v p=E1 02. 06. 2006 v 13:33 +0000:
>> Synopsis: Error compiling 6.1 zlib module (kernel) on 5.4 AMD64 Machine
>>
>> State-Changed-From-To: open->closed
>> State-Changed-By: matteo
>> State-Changed-When: Fri Jun 2 13:29:31 UTC 2006
>> State-Changed-Why:
>> You should not use custom CFLAGS other than -O2 -pipe. What is more, "ma=
ke -j4 " is not supported . Thanks.
>
> Why is -j4 not supported?

Because we (as in the Project) have not validated that all of the code=20
compiles correctly in high-parallelism situations. We frequently find=20
areas that do not have proper ordering set and you get odd compile errors.=
=20
As machines get faster, we find more races.

In general, compilation with non-standard CFLAGS and COPTFLAGS is not=20
supported. If it doesn't work, remove the options from your make.conf and=
=20
re-attempt your build. The code should build with the default CFLAGS and=20
no -j set.

If you can identify and provide a patch for areas that don't work properly=
=20
at -j, we'll happily accept them, but if you have problems, you're on your=
=20
own. We can't possibly test every possible permutation of CFLAGS and -j;=20
we don't have the resources.

--=20
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org
--0-1935939020-1149893197=:60598--



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