Dear all,
first of all, I would like to thank all the developers for making cross
builbing linux from scratch an easy task! Unfortunately I'm here to report
a problem I'm not able to fix.
A brief intro first. I'm using CLFS because I have a single board computer
called MVME6100 with a Motorola ppc processor and I want to run linux on top
of that. I don't have any other ppc computer, so the only duable way is
cross-compiling. Motorola is (unofficially) distributing a patch for the
linux kernel (2.6.14) to make it compatible with MVME6100 and using CFLS I
managed to boot up into the temporary system and start refining the
installation toward the final system. Instead of compiling the kernel you
suggest, I'm using the Motorola patched one and also I'm not using UDEV.
The problem appears during the configuration of perl (temporary perl 5.8.8)
-
./configure.gnu --prefix=/tools \
-Dstatic_ext='Data/Dumper IO Fcntl POSIX' -Dcc="gcc"
- the output of the configure is in the attached file
- It seems that checking the existence of time.h or sys/time.h is the
cause of the kernel panic, but I hardly believe it is so simple.
I decided to stop here and ask for your advice.
Thanks in advance for your help, cheers
Antonio
--
Antonio Bulgheroni, PhD
Computers have a lot in common with air conditioners:
Once you open WINDOWS, they stop working properly.
./configure.gnu --prefix=/tools \root:/sources/perl-5.8.8# ./configure.gnu --prefix=/tools \
> -Dstatic_ext='Data/Dumper IO Fcntl POSIX' -Dcc="gcc"
sh Configure -ds -e -Dprefix=/tools -Dstatic_ext=Data/Dumper IO Fcntl POSIX -Dcc=gcc
First let's make sure your kit is complete. Checking...
Locating common programs...
Checking compatibility between /tools/bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
Your builtin 'test -h' may be broken.
Trying external '/tools/bin/test -h'.
You can test for symbolic links with '/tools/bin/test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1 dos_djgpp irix_6_0 nonstopux sunos_4_0
aix dynix irix_6_1 openbsd sunos_4_1
aix_3 dynixptx isc opus super-ux
aix_4 epix isc_2 os2 svr4
altos486 esix4 linux os390 svr5
amigaos fps lynxos os400 ti1500
apollo freebsd machten posix-bc titanos
atheos genix machten_2 powerux ultrix_4
aux_3 gnu mint qnx umips
beos gnukfreebsd mips rhapsody unicos
bsdos gnuknetbsd mpc sco unicosmk
convexos greenhills mpeix sco_2_3_0 unisysdynix
cxux hpux ncr_tower sco_2_3_1 utekv
cygwin i386 netbsd sco_2_3_2 uts
darwin interix newsos4 sco_2_3_3 uwin
dcosx irix_4 next_3 sco_2_3_4 vmesa
dec_osf irix_5 next_3_0 solaris_2 vos
dgux irix_6 next_4 stellar
Which of these apply, if any? [linux]
You appear to have ELF support. I'll try to use it for dynamic loading.
If dynamic loading doesn't work, read hints/linux.sh for further information.
Operating system name? [linux]
Operating system version? [2.6.14]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Build a threading Perl? [n]
Build Perl for multiplicity? [n]
Use which C compiler? [gcc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/tools/lib]
What is the file extension used for shared libraries? [so]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-lnsl -ldl -lm -lcrypt -lutil -lc]
What optimizer/debugger flag should be used? [-O1]
Any additional cc flags?
[-fno-strict-aliasing -pipe -Wdeclaration-after-statement]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [none]
Checking your choice of C compiler and flags for coherency...
Computing filename position in cpp output for #include directives...
<stdlib.h> found.
Checking to see how big your integers are...
Checking to see if you have long long...
Checking to see how big your long longs are...
<inttypes.h> found.
Checking to see if you have int64_t...
Checking which 64-bit integer type we could use...
We could use 'long long' for 64-bit integers.
Try to use 64-bit integers, if available? [n]
Try to use maximal 64-bit support, if available? [n]
Checking to see how big your double precision numbers are...
Checking to see if you have long double...
Checking to see how big your long doubles are...
What is your architecture name [ppc-linux]
Perlio selected.
Installation prefix to use? (~name ok) [/tools]
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/tools]
Getting the current patchlevel...
Pathname where the private library files will reside? (~name ok)
[/tools/lib/perl5/5.8.8]
Where do you want to put the public architecture-dependent libraries? (~name ok)
[/tools/lib/perl5/5.8.8/ppc-linux]
Other username to test security of setuid scripts with? [none]
Well, the recommended value is *not* secure.
Does your kernel have *secure* setuid scripts? [n]
Do you want to do setuid/setgid emulation? [n]
<malloc.h> found.
Checking to see how well your C compiler groks the void type...
Good. It appears to support void to the level perl5 wants.
Checking to see how big your pointers are...
Do you wish to wrap malloc calls to protect against potential overflows? [y]
Do you wish to attempt to use the malloc that comes with perl5? [n]
Your system wants malloc to return 'void *', it would seem.
Your system uses void free(), it would seem.
Installation prefix to use for add-on modules and utilities? (~name ok)
[/tools]
Pathname for the site-specific library files? (~name ok)
[/tools/lib/perl5/site_perl/5.8.8]
Pathname for the site-specific architecture-dependent library files? (~name ok)
[/tools/lib/perl5/site_perl/5.8.8/ppc-linux]
Do you want to configure vendor-specific add-on directories? [n]
Colon-separated list of additional directories for perl to search? [none]
Checking out function prototypes...
Pathname where the public executables will reside? (~name ok) [/tools/bin]
Install any extra modules (y or n)? [n]
Directory for the main Perl5 html pages? (~name ok) [none]
Directory for the Perl5 module html pages? (~name ok) [none]
List of earlier versions to include in @INC? [none]
Do you want to install perl as /usr/bin/perl? [y]
Checking for GNU C Library...
nm probably won't work on the GNU C Library.
Shall I use /tools/bin/nm to extract C symbols from the libraries? [n]
<dld.h> NOT found.
dlopen() found.
Do you wish to use dynamic loading? [y]
Source file to use for dynamic loading [ext/DynaLoader/dl_dlopen.xs]
Any special flags to pass to gcc -c to compile shared library modules?
[-fpic]
What command should be used to create dynamic libraries? [gcc]
Any special flags to pass to gcc to create a dynamically loaded library?
[-shared]
Any special flags to pass to gcc to use dynamic linking? [-Wl,-E]
Build a shared libperl.so (y/n) [n]
System manual is in /usr/share/man/man1.
Where do the main Perl5 manual pages (source) go? (~name ok) [none]
You can have filenames longer than 14 characters.
Where do the perl5 library man pages (source) go? (~name ok) [none]
Figuring out host name...
Your host name appears to be "motorola1". Right? [y]
What is your domain name? [.nonet]
What is your e-mail address? [EMAIL PROTECTED]
Perl administrator e-mail address [EMAIL PROTECTED]
Do you want to install only the version-specific parts of perl? [n]
What shall I put after the #! to start up perl ("none" to not use #!)?
[/tools/bin/perl]
Where do you keep publicly executable scripts? (~name ok) [/tools/bin]
Pathname where the add-on public executables should be installed? (~name ok)
[/tools/bin]
Pathname where the site-specific html pages should be installed? (~name ok)
[none]
Pathname where the site-specific library html pages should be installed? (~name ok)
[none]
Pathname where the site-specific manual pages should be installed? (~name ok)
[none]
Pathname where the site-specific library manual pages should be installed? (~name ok)
[none]
Pathname where add-on public executable scripts should be installed? (~name ok)
[/tools/bin]
Use the "fast stdio" if available? [y]
off_t found.
Checking to see how big your file offsets are...
fpos_t found.
Checking the size of fpos_t...
Try to understand large files, if available? [y]
Rechecking to see how big your file offsets are...
Rechecking the size of fpos_t... 16 bytes.
qgcvt() found.
Checking how to print long doubles...
gconvert NOT found.
gcvt() found.
I'll use gcvt to convert floats into a string.
fwalk() NOT found.
access() found.
<sys/file.h> defines the *_OK access constants.
accessx() NOT found.
aintl() NOT found.
alarm() found.
<pthread.h> found.
<sys/types.h> found.
<sys/select.h> found.
Testing to see if we should include <time.h>, <sys/time.h> or both.
Kernel stack overflow in process cf6f00b0, r1=cdf6ff30
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org