Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2005 03:50:19 GMT
From:      KOBAYASHI Hidenobu <kobayasi@pp.iij4u.or.jp>
To:        freebsd-amd64@FreeBSD.org
Subject:   Re: amd64/83806: Can not comple /usr/src/lib/msun/amd64/fenv.c at make buildworld.
Message-ID:  <200507240350.j6O3oJuG015801@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR amd64/83806; it has been noted by GNATS.

From: KOBAYASHI Hidenobu <kobayasi@pp.iij4u.or.jp>
To: bug-followup@FreeBSD.org
Cc: KOBAYASHI Hidenobu <kobayasi@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@pp.iij4u.or.jp



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