Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
x11 cross-compile errors
I've been cross-compiling current/macppc/release on a linux system for
awhile and x11 recently stopped compiling.
One problems is that it seems like
xsrc/external/mit/fontconfig/dist/src/fccache.c is missing its
reference to __UNVOLATILE . I tried adding '#include <sys/cdefs.h>'
where I thought it was defined but that still gives errors, attached
below.
Also, I'm getting an out of memory error with format_utils.pico.
The build command I use
env MAKECONF=mk.conf ./build.sh -j9 -U -m macppc release
and mk.conf has
MKX11= yes
CPUFLAGS+= -mcpu=601
Thanks
#######################
unvolatile error
#######################
dependall ===> external/mit/xorg/tools/mkfontscale
--- dependall-makekeys ---
--- dependall ---
--- dependall-ucs2any ---
--- dependall ---
--- dependall-bdftopcf ---
--- dependall ---
--- dependall-mkfontscale ---
--- dependall ---
--- dependall-fc-cache ---
--- dependall ---
--- fc-cache ---
# link fc-cache/fc-cache
cc -O -DFONTCONFIG_PATH='"/home/scole/nbsd/src/obj/destdir.macppc/etc/X11/fonts"' -DFC_DEFAULT_FONTS='"/usr/X11R7/lib/X11/fonts/Type1"' -DFC_CACHEDIR='"/home/scole/nbsd/src/obj/destdir.macppc/var/cache/fontconfig"' -DHAVE_FT_BITMAP_SIZE_Y_PPEM -DHAVE_FT_GET_BDF_PROPERTY -DHAVE_FT_GET_NEXT_CHAR -DHAVE_FT_GET_PS_FONT_INFO -DHAVE_FT_GET_X11_FONT_FORMAT -DHAVE_FT_HAS_PS_GLYPH_NAMES -DHAVE_EXPAT -DXFREE86_FT2 -DHAVE_INTTYPES_H -DFT2_BUILD_LIBRARY -DXML_BYTE_ORDER=0 -DHAVE_MEMMOVE=1 -DHAVE_STDINT_H -DHAVE_RANDOM -DDARWIN_NO_CARBON -DHAVE_SYS_TYPES_H -DHAVE_FCNTL_H -DHAVE_SYS_STAT_H -DHAVE_MKSTEMP -DHAVE_SCANDIR -DFLEXIBLE_ARRAY_MEMBER="/**/" -DFT_CONFIG_OPTION_DISABLE_BZIP2 -I/home/scole/nbsd/xsrc/external/mit/fontconfig/dist -I/home/scole/nbsd/xsrc/external/mit/freetype/dist -I/home/scole/nbsd/xsrc/external/mit/freetype/dist/include -I/home/scole/nbsd/src/external/mit/expat/dist/lib -I/home/scole/nbsd/xsrc/external/mit/fontconfig/dist/../include -I/home/scole/nbsd/src/obj/destdir.macppc/usr/X11R7/include -I. -o fc-cache fc-cache.lo fcatomic.lo fcblanks.lo fccache.lo fccfg.lo fccharset.lo fcdbg.lo fccompat.lo fcdefault.lo fcdir.lo fcfreetype.lo fcfs.lo fchash.lo fcinit.lo fclang.lo fclist.lo fcmatch.lo fcmatrix.lo fcname.lo fcobjs.lo fcpat.lo fcserialize.lo fcstat.lo fcstr.lo fcxml.lo ftglue.lo ftapi.lo ftbase.lo ftbbox.lo ftbdf.lo ftdebug.lo ftglyph.lo ftinit.lo ftmm.lo ftpfr.lo ftstroke.lo ftsynth.lo ftsystem.lo fttype1.lo ftwinfnt.lo ftxf86.lo ftbitmap.lo autofit.lo bdf.lo cff.lo type1cid.lo ftgzip.lo ftlzw.lo pcf.lo pfr.lo psaux.lo pshinter.lo psnames.lo raster.lo sfnt.lo smooth.lo truetype.lo type1.lo type42.lo winfnt.lo xmlparse.lo xmltok.lo xmlrole.lo -lz
fccache.lo: In function `FcCacheFini':
fccache.c:(.text+0x1176): undefined reference to `__UNVOLATILE'
collect2: error: ld returned 1 exit status
*** [fc-cache] Error code 1
nbmake[9]: stopped in /home/scole/nbsd/src/external/mit/xorg/tools/fc-cache
1 error
#######################
unvolatile error with '#include <sys/cdefs.h>'
########################
# compile fc-cache/fccache.lo
cc -O -DFONTCONFIG_PATH='"/home/scole/nbsd/src/obj/destdir.macppc/etc/X11/fonts"' -DFC_DEFAULT_FONTS='"/usr/X11R7/lib/X11/fonts/Type1"' -DFC_CACHEDIR='"/home/scole/nbsd/src/obj/destdir.macppc/var/cache/fontconfig"' -DHAVE_FT_BITMAP_SIZE_Y_PPEM -DHAVE_FT_GET_BDF_PROPERTY -DHAVE_FT_GET_NEXT_CHAR -DHAVE_FT_GET_PS_FONT_INFO -DHAVE_FT_GET_X11_FONT_FORMAT -DHAVE_FT_HAS_PS_GLYPH_NAMES -DHAVE_EXPAT -DXFREE86_FT2 -DHAVE_INTTYPES_H -DFT2_BUILD_LIBRARY -DXML_BYTE_ORDER=0 -DHAVE_MEMMOVE=1 -DHAVE_STDINT_H -DHAVE_RANDOM -DDARWIN_NO_CARBON -DHAVE_SYS_TYPES_H -DHAVE_FCNTL_H -DHAVE_SYS_STAT_H -DHAVE_MKSTEMP -DHAVE_SCANDIR -DFLEXIBLE_ARRAY_MEMBER="/**/" -DFT_CONFIG_OPTION_DISABLE_BZIP2 -I/home/scole/nbsd/xsrc/external/mit/fontconfig/dist -I/home/scole/nbsd/xsrc/external/mit/freetype/dist -I/home/scole/nbsd/xsrc/external/mit/freetype/dist/include -I/home/scole/nbsd/src/external/mit/expat/dist/lib -I/home/scole/nbsd/xsrc/external/mit/fontconfig/dist/../include -I/home/scole/nbsd/src/obj/destdir.macppc/usr/X11R7/include -I. -c -o fccache.lo.o /home/scole/nbsd/xsrc/external/mit/fontconfig/dist/src/fccache.c
/home/scole/nbsd/xsrc/external/mit/fontconfig/dist/src/fccache.c: In function 'free_lock':
/home/scole/nbsd/xsrc/external/mit/fontconfig/dist/src/fccache.c:301:5: warning: passing argument 1 of 'free' makes pointer from integer without a cast [enabled by default]
In file included from /home/scole/nbsd/xsrc/external/mit/fontconfig/dist/src/fcint.h:34:0,
from /home/scole/nbsd/xsrc/external/mit/fontconfig/dist/src/fccache.c:23:
/usr/include/stdlib.h:488:13: note: expected 'void *' but argument is of type 'int'
mv fccache.lo.o fccache.lo
--- fc-cache ---
# link fc-cache/fc-cache
cc -O -DFONTCONFIG_PATH='"/home/scole/nbsd/src/obj/destdir.macppc/etc/X11/fonts"' -DFC_DEFAULT_FONTS='"/usr/X11R7/lib/X11/fonts/Type1"' -DFC_CACHEDIR='"/home/scole/nbsd/src/obj/destdir.macppc/var/cache/fontconfig"' -DHAVE_FT_BITMAP_SIZE_Y_PPEM -DHAVE_FT_GET_BDF_PROPERTY -DHAVE_FT_GET_NEXT_CHAR -DHAVE_FT_GET_PS_FONT_INFO -DHAVE_FT_GET_X11_FONT_FORMAT -DHAVE_FT_HAS_PS_GLYPH_NAMES -DHAVE_EXPAT -DXFREE86_FT2 -DHAVE_INTTYPES_H -DFT2_BUILD_LIBRARY -DXML_BYTE_ORDER=0 -DHAVE_MEMMOVE=1 -DHAVE_STDINT_H -DHAVE_RANDOM -DDARWIN_NO_CARBON -DHAVE_SYS_TYPES_H -DHAVE_FCNTL_H -DHAVE_SYS_STAT_H -DHAVE_MKSTEMP -DHAVE_SCANDIR -DFLEXIBLE_ARRAY_MEMBER="/**/" -DFT_CONFIG_OPTION_DISABLE_BZIP2 -I/home/scole/nbsd/xsrc/external/mit/fontconfig/dist -I/home/scole/nbsd/xsrc/external/mit/freetype/dist -I/home/scole/nbsd/xsrc/external/mit/freetype/dist/include -I/home/scole/nbsd/src/external/mit/expat/dist/lib -I/home/scole/nbsd/xsrc/external/mit/fontconfig/dist/../include -I/home/scole/nbsd/src/obj/destdir.macppc/usr/X11R7/include -I. -o fc-cache fc-cache.lo fcatomic.lo fcblanks.lo fccache.lo fccfg.lo fccharset.lo fcdbg.lo fccompat.lo fcdefault.lo fcdir.lo fcfreetype.lo fcfs.lo fchash.lo fcinit.lo fclang.lo fclist.lo fcmatch.lo fcmatrix.lo fcname.lo fcobjs.lo fcpat.lo fcserialize.lo fcstat.lo fcstr.lo fcxml.lo ftglue.lo ftapi.lo ftbase.lo ftbbox.lo ftbdf.lo ftdebug.lo ftglyph.lo ftinit.lo ftmm.lo ftpfr.lo ftstroke.lo ftsynth.lo ftsystem.lo fttype1.lo ftwinfnt.lo ftxf86.lo ftbitmap.lo autofit.lo bdf.lo cff.lo type1cid.lo ftgzip.lo ftlzw.lo pcf.lo pfr.lo psaux.lo pshinter.lo psnames.lo raster.lo sfnt.lo smooth.lo truetype.lo type1.lo type42.lo winfnt.lo xmlparse.lo xmltok.lo xmlrole.lo -lz
fccache.lo: In function `FcCacheFini':
fccache.c:(.text+0x1176): undefined reference to `__UNVOLATILE'
collect2: error: ld returned 1 exit status
*** [fc-cache] Error code 1
nbmake[9]: stopped in /home/scole/nbsd/src/external/mit/xorg/tools/fc-cache
1 error
#######################
format_utils.pico error
#######################
# format libX11/XrmPutResource.html3
--- XrmUniqueQuark.html3 ---
--- XrmPutResource.html3 ---
if test "" != "yes"; then /home/scole/nbsd/src/obj/tooldir.Linux-3.2.0-4-686-pae-i686/bin/nbmandoc -Thtml -Oman=../html%S/%N.html -Ostyle=../style.css XrmPutResource.3 > XrmPutResource.html3.tmp && mv XrmPutResource.html3.tmp XrmPutResource.html3; else PATH=/home/scole/nbsd/src/obj/tooldir.Linux-3.2.0-4-686-pae-i686/lib/groff:${PATH} /home/scole/nbsd/src/obj/tooldir.Linux-3.2.0-4-686-pae-i686/bin/nbgroff -Tlatin1 -mdoc2html XrmPutResource.3 > XrmPutResource.html3.tmp && mv XrmPutResource.html3.tmp XrmPutResource.html3; fi
--- XrmUniqueQuark.html3 ---
# format libX11/XrmUniqueQuark.html3
if test "" != "yes"; then /home/scole/nbsd/src/obj/tooldir.Linux-3.2.0-4-686-pae-i686/bin/nbmandoc -Thtml -Oman=../html%S/%N.html -Ostyle=../style.css XrmUniqueQuark.3 > XrmUniqueQuark.html3.tmp && mv XrmUniqueQuark.html3.tmp XrmUniqueQuark.html3; else PATH=/home/scole/nbsd/src/obj/tooldir.Linux-3.2.0-4-686-pae-i686/lib/groff:${PATH} /home/scole/nbsd/src/obj/tooldir.Linux-3.2.0-4-686-pae-i686/bin/nbgroff -Tlatin1 -mdoc2html XrmUniqueQuark.3 > XrmUniqueQuark.html3.tmp && mv XrmUniqueQuark.html3.tmp XrmUniqueQuark.html3; fi
--- dependall-gallium ---
--- format_utils.pico ---
cc1: out of memory allocating 1081140 bytes after a total of 896122880 bytes
*** [format_utils.pico] Error code 1
nbmake[9]: stopped in /home/scole/nbsd/src/external/mit/xorg/lib/gallium
1 error
nbmake[9]: stopped in /home/scole/nbsd/src/external/mit/xorg/lib/gallium
*** [dependall] Error code 2
nbmake[8]: stopped in /home/scole/nbsd/src/external/mit/xorg/lib/gallium
1 error
nbmake[8]: stopped in /home/scole/nbsd/src/external/mit/xorg/lib/gallium
*** [dependall-gallium] Error code 2
nbmake[7]: stopped in /home/scole/nbsd/src/external/mit/xorg/lib
Home |
Main Index |
Thread Index |
Old Index