xfs-masters
[Top] [All Lists]

[Bug 1107] New: /include/xfs/platform_defs.h:100:4: error: #error Unknow

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 1107] New: /include/xfs/platform_defs.h:100:4: error: #error Unknown pointer size
From: bugzilla-daemon@xxxxxxxxxxx
Date: Fri, 06 May 2016 15:12:59 +0000
Auto-submitted: auto-generated
Delivered-to: xfs-masters@xxxxxxxxxxx
Bug ID 1107
Summary /include/xfs/platform_defs.h:100:4: error: #error Unknown pointer size
Product XFS
Version 1.3.x
Hardware All
OS Linux
Status NEW
Severity major
Priority P5
Component xfsprogs
Assignee xfs-masters@oss.sgi.com
Reporter praveecs049@gmail.com
CC matorola@gmail.com
Classification Unclassified
CC matorola@gmail.com

Comment # 4 on bug 1107 from
omg! sorry, wrong bug attachments.
Comment # 3 on bug 1107 from
Created attachment 345 [details]
xfstests , generic test 64 log
Comment # 2 on bug 1107 from
Created attachment 344 [details]
xfs_metadump of /dev/vdiske5
Hi 

I am getting error while cross compiling xfsprogs-3.1.9 version. please find
below details.

gmake -C 
/export/home/Praveen/R16_Activity/G5_COS/5.0.Current_G5COS_No_Change/src/OpenSource/xfsprogs-3.1.9
configure
gmake[2]: `configure' is up to date.
cd 
/export/home/Praveen/R16_Activity/G5_COS/5.0.Current_G5COS_No_Change/src/OpenSource/xfsprogs-3.1.9;
./configure
--prefix=/export/home/Praveen/R16_Activity/G5_COS/5.0.Current_G5COS_No_Change/export

--exec-prefix=/export/home/Praveen/R16_Activity/G5_COS/5.0.Current_G5COS_No_Change/export
--host=sh4-linux-uclibc --build=i686-redhad-linux-gnu --enable-gettext=no
root_libdir=/export/home/Praveen/R16_Activity/G5_COS/5.0.Current_G5COS_No_Change/export/usr/lib
root_sbindir=/export/home/Praveen/R16_Activity/G5_COS/5.0.Current_G5COS_No_Change/export/usr/sbin
checking build system type... i686-redhad-linux-gnu
checking host system type... sh4-unknown-linux-uclibc
checking for sh4-linux-uclibc-gcc... sh4-linux-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether sh4-linux-uclibc-gcc accepts -g... yes
checking for sh4-linux-uclibc-gcc option to accept ANSI C... none needed
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by sh4-linux-uclibc-gcc...
/opt/STM/Toolchain/STLinux_SSP_jan0711/Untared/opt/STM/STLinux-2.3/devkit/sh4_uclibc/sh4-linux-uclibc/bin/ld
checking if the linker
(/opt/STM/Toolchain/STLinux_SSP_jan0711/Untared/opt/STM/STLinux-2.3/devkit/sh4_uclibc/sh4-linux-uclibc/bin/ld)
is GNU ld... yes
checking for
/opt/STM/Toolchain/STLinux_SSP_jan0711/Untared/opt/STM/STLinux-2.3/devkit/sh4_uclibc/sh4-linux-uclibc/bin/ld
option to reload object files... -r
checking for BSD-compatible nm...
/opt/STM/STLinux-2.3/devkit/sh4_uclibc/bin//sh4-linux-uclibc-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... sh4-linux-uclibc-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for sh4-linux-uclibc-g++... sh4-linux-uclibc-g++
checking whether we are using the GNU C++ compiler... yes
checking whether sh4-linux-uclibc-g++ accepts -g... yes
checking how to run the C++ preprocessor... sh4-linux-uclibc-g++ -E
checking for sh4-linux-uclibc-g77... no
checking for sh4-linux-uclibc-f77... no
checking for sh4-linux-uclibc-xlf... no
checking for sh4-linux-uclibc-frt... no
checking for sh4-linux-uclibc-pgf77... no
checking for sh4-linux-uclibc-fort77... no
checking for sh4-linux-uclibc-fl32... no
checking for sh4-linux-uclibc-af77... no
checking for sh4-linux-uclibc-f90... no
checking for sh4-linux-uclibc-xlf90... no
checking for sh4-linux-uclibc-pgf90... no
checking for sh4-linux-uclibc-epcf90... no
checking for sh4-linux-uclibc-f95... no
checking for sh4-linux-uclibc-fort... no
checking for sh4-linux-uclibc-xlf95... no
checking for sh4-linux-uclibc-ifc... no
checking for sh4-linux-uclibc-efc... no
checking for sh4-linux-uclibc-pgf95... no
checking for sh4-linux-uclibc-lf95... no
checking for sh4-linux-uclibc-gfortran... no
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse
/opt/STM/STLinux-2.3/devkit/sh4_uclibc/bin//sh4-linux-uclibc-nm -B output from
sh4-linux-uclibc-gcc object... ok
checking for objdir... .libs
checking for sh4-linux-uclibc-ar... sh4-linux-uclibc-ar
checking for sh4-linux-uclibc-ranlib... sh4-linux-uclibc-ranlib
checking for sh4-linux-uclibc-strip... sh4-linux-uclibc-strip
checking if sh4-linux-uclibc-gcc static flag  works... yes
checking if sh4-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for sh4-linux-uclibc-gcc option to produce PIC... -fPIC
checking if sh4-linux-uclibc-gcc PIC flag -fPIC works... yes
checking if sh4-linux-uclibc-gcc supports -c -o file.o... yes
checking whether the sh4-linux-uclibc-gcc linker
(/opt/STM/Toolchain/STLinux_SSP_jan0711/Untared/opt/STM/STLinux-2.3/devkit/sh4_uclibc/sh4-linux-uclibc/bin/ld)
supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by sh4-linux-uclibc-g++...
/opt/STM/Toolchain/STLinux_SSP_jan0711/Untared/opt/STM/STLinux-2.3/devkit/sh4_uclibc/sh4-linux-uclibc/bin/ld
checking if the linker
(/opt/STM/Toolchain/STLinux_SSP_jan0711/Untared/opt/STM/STLinux-2.3/devkit/sh4_uclibc/sh4-linux-uclibc/bin/ld)
is GNU ld... yes
checking whether the sh4-linux-uclibc-g++ linker
(/opt/STM/Toolchain/STLinux_SSP_jan0711/Untared/opt/STM/STLinux-2.3/devkit/sh4_uclibc/sh4-linux-uclibc/bin/ld)
supports shared libraries... yes
checking for sh4-linux-uclibc-g++ option to produce PIC... -fPIC
checking if sh4-linux-uclibc-g++ PIC flag -fPIC works... yes
checking if sh4-linux-uclibc-g++ supports -c -o file.o... yes
checking whether the sh4-linux-uclibc-g++ linker
(/opt/STM/Toolchain/STLinux_SSP_jan0711/Untared/opt/STM/STLinux-2.3/devkit/sh4_uclibc/sh4-linux-uclibc/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker
(/opt/STM/Toolchain/STLinux_SSP_jan0711/Untared/opt/STM/STLinux-2.3/devkit/sh4_uclibc/sh4-linux-uclibc/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for sh4-linux-uclibc-gcc... (cached) sh4-linux-uclibc-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether sh4-linux-uclibc-gcc accepts -g... (cached) yes
checking for sh4-linux-uclibc-gcc option to accept ANSI C... (cached) none
needed
checking for sh4-linux-uclibc-gcc... (cached) sh4-linux-uclibc-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether sh4-linux-uclibc-gcc accepts -g... (cached) yes
checking for sh4-linux-uclibc-gcc option to accept ANSI C... (cached) none
needed
checking for gmake... /usr/bin/gmake
checking for tar... /bin/tar
checking for gzip... /bin/gzip
checking whether gcc -MM is supported... yes
checking for awk... /bin/awk
checking for sort... /bin/sort
checking whether ln -s works... yes
checking for rpm... /bin/rpm
checking for rpmbuild... /usr/bin/rpmbuild
checking aio.h usability... no
checking aio.h presence... no
checking for aio.h... no

FATAL ERROR: could not find a valid <aio.h> header.
checking for lio_listio... no
checking for lio_listio in -lrt... no

FATAL ERROR: could not find a library with lio_listio.
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking sys/uuid.h usability... no
checking sys/uuid.h presence... no
checking for sys/uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_compare... no
checking for uuid_compare in -luuid... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_mutex_init in -lpthread... yes
checking for fadvise ... yes
checking for madvise ... yes
checking for mincore ... yes
checking for sendfile ... yes
checking for getmntent ... yes
checking for getmntinfo ... no
checking for fallocate... no
checking for fiemap... no
checking for preadv... no
checking for sync_file_range... yes
checking for library containing blkid_probe_all... -lblkid
checking for blkid_probe_get_topology... no
checking for long... yes
checking size of long... (cached) 4
checking for char *... yes
checking size of char *... (cached) 4
checking for __psint_t ... no
checking for __psunsigned_t ... no
checking for __u32 ... yes
configure: creating ./config.status
config.status: creating include/builddefs
config.status: creating include/platform_defs.h
config.status: include/platform_defs.h is unchanged
gmake -C 
/export/home/Praveen/R16_Activity/G5_COS/5.0.Current_G5COS_No_Change/src/OpenSource/xfsprogs-3.1.9
Building include
Building libxfs
    [CC]     cache.lo
<command-line>: warning: missing terminating " character
In file included from cache.c:25:
../include/xfs/platform_defs.h:100:4: error: #error Unknown pointer size
../include/xfs/platform_defs.h:118:4: error: #error Unknown pointer size
gmake[4]: *** [cache.lo] Error 1
gmake[3]: *** [libxfs] Error 2
gmake[2]: *** [default] Error 2
gmake[1]: *** [build_xfsprogs] Error 2
gmake: *** [build_fs] Error 2

Thanks
Praveen


You are receiving this mail because:
  • You are the assignee for the bug.
<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 1107] New: /include/xfs/platform_defs.h:100:4: error: #error Unknown pointer size, bugzilla-daemon <=