amd64/83806: Can not comple /usr/src/lib/msun/amd64/fenv.c at
make buildworld.
KOBAYASHI Hidenobu
kobayasi at pp.iij4u.or.jp
Sun Jul 24 03:50:19 GMT 2005
The following reply was made to PR amd64/83806; it has been noted by GNATS.
From: KOBAYASHI Hidenobu <kobayasi at pp.iij4u.or.jp>
To: bug-followup at FreeBSD.org
Cc: KOBAYASHI Hidenobu <kobayasi at pp.iij4u.or.jp>
Subject: Re: amd64/83806: Can not comple /usr/src/lib/msun/amd64/fenv.c at make buildworld.
Date: Sun, 24 Jul 2005 12:43:37 +0900
I correct Fix parts.
>Fix:
The 1st my report is invalid.
The fact that compiling the fenv.c fails is because the /usr/src/lib/msun/i387/fenv.h is included.
It is correct for the /usr/src/lib/msun/amd64/fenv.h to be included.
When I install the lib32 with the make installworld,
the /usr/include/fenv.h is superscribed with the /usr/src/lib/msun/i387/fenv.h.
--- START: make installworld log---
...
===> lib/msun (install)
install -C -o root -g wheel -m 444 libm.a /usr/lib
install -C -o root -g wheel -m 444 libm_p.a /usr/lib
install -s -o root -g wheel -m 444 libm.so.4 /lib
ln -fs /lib/libm.so.4 /usr/lib/libm.so
install -C -o root -g wheel -m 444 /usr/src/lib/msun/amd64/fenv.h /usr/src/lib/msun/src/math.h
/usr/include
...
===> msun (install)
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libm.a /usr/lib32
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libm_p.a /usr/lib32
sh /usr/src/tools/install.sh -s -o root -g wheel -m 444 libm.so.4 /usr/lib32
ln -fs libm.so.4 /usr/lib32/libm.so
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 /usr/src/lib/msun/i387/fenv.h /usr/src/
lib/msun/src/math.h /usr/include
--- END: make installworld log ---
Workaround is as follows,
1. echo "NO_LIB32=yes" >> /etc/make.conf
2. re-compile and install world.
3. re-compile and install world. once more.
Best Regards,
--
KOBAYASHI Hidenobu
kobayasi at pp.iij4u.or.jp
More information about the freebsd-amd64
mailing list