Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2001 23:16:03 +0200
From:      Dimitry Andric <dim@xs4all.nl>
To:        "Hartmann, O." <ohartman@klima.physik.uni-mainz.de>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re[2]: MAKEDEV 4.4-STABLE still offering problems
Message-ID:  <10350278416.20010918231603@xs4all.nl>
In-Reply-To: <20010918182942.R17334-101000@klima.physik.uni-mainz.de>
References:  <20010918182942.R17334-101000@klima.physik.uni-mainz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2001-09-18 at 18:30:08 Hartmann, O. wrote:

HO> I changed the MAKEDEV as shown below and now it works for me, too.

After hearing several comments that this problem is caused by the
CPUTYPE setting in /etc/make.conf, I've tried rebuilding the world
without CPUTYPE, and that fixes the problem too.

When /bin/sh has been compiled using CPUTYPE, it dies on the following
line in MAKEDEV (about line 334):

  sh MAKEDEV i4btel0 i4btel1 i4bteld0 i4bteld1    # cdev, ISDN

It then prints garbage all over the place. I have no idea _why_ it
dies, because it shouldn't, really. ;) But if you simply split the
line into:

  sh MAKEDEV i4btel0 i4btel1                      # cdev, ISDN
  sh MAKEDEV i4bteld0 i4bteld1                    # cdev, ISDN

it doesn't die anymore. (I found this out by just fiddling around a bit
with these lines.)

However, the proper solution is to follow the instructions from
/etc/defaults/make.conf, which say:

# If you experience any problems after setting this flag, please unset
# it again before submitting a bug report or attempting to modify code.
# It may be that certain types of software will become unstable after being
# compiled with processor-specific (or higher - see below) optimization flags.
# If in doubt, do not set CPUTYPE or CFLAGS to non-default values.

So I'm now in the process of removing CPUTYPE from all FreeBSD boxes I
manage, and rebuilding them. :)

Cheers,
- --
Dimitry Andric <dim@xs4all.nl>
PGP Key: http://www.xs4all.nl/~dim/dim.asc
Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i
Comment: http://www.gn.apc.org/duncan/stoa_cover.htm

iQA/AwUBO6eriLBeowouIJajEQIoegCg8K8S9uvp0Wzu5qPvTwkn4/hpUtEAoK4/
preR3mIRAoBbR1w0bFRjZ8Ph
=2/l9
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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