Date: Sat, 21 May 2016 11:10:32 -0500 From: Karl Denninger <karl@denninger.net> To: freebsd-arm@freebsd.org Subject: Still blowing up -- RPI2 crossbuild Message-ID: <6641057b-9bc0-7e0a-b50b-cac8d1cf1d82@denninger.net>
index | next in thread | raw e-mail
[-- Attachment #1 --]
From an AMD64 machine using the "mk" script, now that hardware
floating-point has turned into the default it appears that at the same
time an include file has gone missing.
I get:
--- flt_rounds.So ---
cc -fpic -DPIC -O -pipe -I/pics/CrossBuild/src/lib/libc/include
-I/pics/CrossBuild/src/lib/libc/../../include
-I/pics/CrossBuild/src/lib/libc/arm -DNLS -D__DBINTERFACE_PRIVATE
-I/pics/CrossBuild/src/lib/libc/../../contrib/gdtoa
-I/pics/CrossBuild/src/lib/libc/../../contrib/libc-vis -DINET6
-I/pics/CrossBuild/obj/arm.armv6/pics/CrossBuild/src/lib/libc
-I/pics/CrossBuild/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE
-I/pics/CrossBuild/src/lib/libc/../libmd
-I/pics/CrossBuild/src/lib/libc/../../contrib/jemalloc/include
-I/pics/CrossBuild/src/lib/libc/../../contrib/tzcode/stdtime
-I/pics/CrossBuild/src/lib/libc/stdtime
-I/pics/CrossBuild/src/lib/libc/locale -DBROKEN_DES -DPORTMAP
-DDES_BUILTIN -I/pics/CrossBuild/src/lib/libc/rpc -DYP -DNS_CACHING
-DSYMBOL_VERSIONING -MD -MF.depend.flt_rounds.So -MTflt_rounds.So
-std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter
-Qunused-arguments -I/pics/CrossBuild/src/lib/libutil
-I/pics/CrossBuild/src/lib/msun/arm -I/pics/CrossBuild/src/lib/msun/src
-c /pics/CrossBuild/src/lib/libc/arm/gen/flt_rounds.c -o flt_rounds.So
/pics/CrossBuild/src/lib/libc/arm/gen/flt_rounds.c:34:10: fatal error:
'softfloat-for-gcc.h' file not found
#include "softfloat-for-gcc.h"
^
1 error generated.
*** [flt_rounds.So] Error code 1
The code in question in flt_rounds.c is:
#include <fenv.h>
#include <float.h>
#ifndef __ARM_PCS_VFP
#include "softfloat-for-gcc.h"
#include "milieu.h"
#include "softfloat.h"
#endif
And indeed in src/lib/libc/arm/softfloat that file is not there (the
other two are)
Adding "#define __ARM_PCS_VFP" (so the test for those three includes
always fails) appears to work.
But then the crossbuild blows up here:
--- kerberos5/lib/libhdb__L ---
hdb-sqlite.So: In function `hdb_sqlite_make_database':
/pics/CrossBuild/src/kerberos5/lib/libhdb/../../../crypto/heimdal/lib/hdb/hdb-sqlite.c:(.text+0x480):
undefined reference to `__aeabi_dcmpeq'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libhdb.so.11] Error code 1
bmake[4]: stopped in /pics/CrossBuild/src/kerberos5/lib/libhdb
1 error
bmake[4]: stopped in /pics/CrossBuild/src/kerberos5/lib/libhdb
*** [kerberos5/lib/libhdb__L] Error code 2
Will see what I can find later on this...
--
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
[-- Attachment #2 --]
0 *H
010
`He 0 *H
_0[0C)0
*H
010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA0
150421022159Z
200419022159Z0Z10 UUS10UFlorida10U
Cuda Systems LLC10UKarl Denninger (OCSP)0"0
*H
0
X@vkY
Tq/vE]5#֯MX\8LJ/V?5Da+
sJc*/r{ȼnS+ w")ąZ^DtdCOZ ~7Q '@a#ijc۴oZdB&!Ӝ-< ?HN5y
5}F|ef"Vلio74zn">a1qWuɖbFeGE&3(KhixG3!#e_XƬϜ/,$+;4y'Bz<qT9_?rRUpn5
Jn&Rx/p Jyel*pN8/#9u/YPEC)TY>~/˘N[vyiDKˉ,^" ?$T8 v&K%z8C @?K{9f`+@,|Mbia 007++0)0'+0http://cudasystems.net:88880 U0 0 `HB0U0, `HB
OpenSSL Generated Certificate0U-h\Ff Y0U#0$q}ݽʒm50U0karl@denninger.net0
*H
Owbabɺx&Uk[(Oj!%p MQ0I!#QH}.>~2&D}<wm_>V6v]f>=Nn+8;q wfΰ/RLyUG#b}n!Dր_up|_ǰc/%ۥ
nN8:d;-UJd/m1~VނיnN I˾$tF1&}|?q?\đXԑ&\4V<lKۮ3%Am_(q-(cAeGX)f}-˥6cv~Kg8m~v;|9:-iAPқ6ېn-.)<[$KJtt/L4ᖣ^Cmu4vb{+BG$M0c\[MR|0FԸP&78"4p#}DZ9;V9#>Sw"[UP7100010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA)0
`He M0 *H
1 *H
0 *H
1
160521161032Z0O *H
1B@ wLASq ĬׅP%jE,I7˼(_)IЦ#,/k P0l *H
1_0]0 `He*0 `He0
*H
0*H
0
*H
@0+0
*H
(0 +710010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA)0*H
1010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA)0
*H
aH;EmǟZN
]+q!nܐ1*^;w-u6hm
I z~Q^a8QvÖրO>UFcM8hO-q[1UE{lTR_Y\<v
H/͌}mb,T&>jP= Mn)ͪ,$i!z(1?M*IN=Nê3EewvH_<ПCVnOO~ ]
d[f?h4uU3(BuL<A=ql#&(ڿ_7#SiK|v_ƛP3Z[[V:nܘ@?-PB~>g;M%EC|Ĥqn8 UO eհiYx]v?+KC7ba,5wn-{OeX
b
cYn2<h
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6641057b-9bc0-7e0a-b50b-cac8d1cf1d82>
