* build-problems: GNU fileutils 4.01 on mipsel with glibc 2.2.2
@ 2001-03-04 20:36 Karsten Merker
2001-03-04 22:15 ` Ralf Baechle
2001-03-06 6:32 ` Keith M Wesolowski
0 siblings, 2 replies; 5+ messages in thread
From: Karsten Merker @ 2001-03-04 20:36 UTC (permalink / raw)
To: linux-mips
Hallo everyone,
I am trying to get the components for a Debian mipsel-base.tgz built,
based on glibc-2.2.2. I am working in a chroot()-environment, where I have
installed glibc 2.2.2, binutils 2.10.91 and gcc 2.95.3 as precompiled
binaries, all from Maciej's packages (glibc-2.2.2-2.mipsel.rpm,
gcc-2.95.3-14.mipsel.rpm, binutils-2.10.91-1.mipsel.rpm plus devel and
dependency packages). Gawk and perl are self-compiled inside the
chroot()-environment. When trying to compile fileutils, the ./configure
starts ok, but when coming to "checking for working mktime..." the script
just hangs forever, and according to top there is nothing consuming CPU
time (except for top itself). Compiling the fileutils on the "host
system", i.e. outside the chroot()-environment using egcs-1.0.3a and
glibc-2.0.6 the problem does not appear. Can anybody confirm this on
another system? Any ideas what can be the reason for this?
The system:
bash> cat /proc/cpuinfo
cpu : MIPS
cpu model : R4000SC V3.0
system type : Digital DECstation 5000/1xx
BogoMIPS : 49.75
byteorder : little endian
unaligned accesses : 0
wait instruction : no
microsecond timers : no
extra interrupt vector : no
hardware watchpoint : yes
VCED exceptions : 360569
VCEI exceptions : 14106
bash> gcc -v
Reading specs from /usr/lib/gcc-lib/mipsel-linux/2.95.3/specs
gcc version 2.95.3 19991030 (prerelease)
Kernel is 2.4.1 fresh from cvs.
The output from ./configure:
creating cache ./config.cache
checking host system type... mipsel-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for perl5.003 or newer... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking dependency style of gcc... gcc
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for ranlib... ranlib
checking for AIX... no
checking for minix/config.h... no
checking build system type... mipsel-unknown-linux-gnu
checking for getconf... getconf
checking for CFLAGS value to request large file support... -D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support...
checking for LIBS value to request large file support...
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... no
checking for _LARGE_FILES... no
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking whether sys/types.h defines makedev... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether closedir returns void... no
checking for inttypes.h... yes
checking for unsigned long long... yes
checking for gcc option to accept ANSI C... none needed
checking for uid_t in sys/types.h... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C conforming const... yes
checking for inline... inline
checking for long double... yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... yes
checking for struct stat.st_blksize... no
checking for struct stat.st_blocks... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether time.h and sys/time.h may both be included... yes
checking for struct tm.tm_zone... yes
checking whether stat file-mode macros are broken... no
checking for nanoseconds member of struct stat.st_mtim... no
checking for st_dm_mode in struct stat... no
checking type of array argument to getgroups... gid_t
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... (cached) yes
checking for ino_t... yes
checking for ssize_t... yes
checking for library containing clock_gettime... -lrt
checking for fdatasync... yes
checking for clock_gettime... yes
checking for long file names... yes
checking for pathconf... yes
checking for string.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for errno.h... yes
checking for unistd.h... yes
checking for stdlib.h... yes
checking for sys/param.h... yes
checking for sys/statfs.h... yes
checking for sys/fstyp.h... no
checking for mnttab.h... no
checking for mntent.h... yes
checking for utime.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/mntent.h... no
checking for sys/mount.h... yes
checking for sys/filsys.h... no
checking for sys/fs_types.h... no
checking for sys/acl.h... no
checking for sys/wait.h... yes
checking for sys/ioctl.h... yes
checking for sys/fs/s5param.h... no
checking for termios.h... yes
checking for values.h... yes
checking for euidaccess... yes
checking for memcpy... yes
checking for memcmp... yes
checking for memset... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime...
[hanging forever]
Greetings,
Karsten
--
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der
Nutzung oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die
Markt- oder Meinungsforschung.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: build-problems: GNU fileutils 4.01 on mipsel with glibc 2.2.2
2001-03-04 20:36 build-problems: GNU fileutils 4.01 on mipsel with glibc 2.2.2 Karsten Merker
@ 2001-03-04 22:15 ` Ralf Baechle
2001-03-05 18:59 ` Karsten Merker
2001-03-06 6:32 ` Keith M Wesolowski
1 sibling, 1 reply; 5+ messages in thread
From: Ralf Baechle @ 2001-03-04 22:15 UTC (permalink / raw)
To: Karsten Merker; +Cc: linux-mips
On Sun, Mar 04, 2001 at 09:36:09PM +0100, Karsten Merker wrote:
> I am trying to get the components for a Debian mipsel-base.tgz built,
> based on glibc-2.2.2. I am working in a chroot()-environment, where I have
> installed glibc 2.2.2, binutils 2.10.91 and gcc 2.95.3 as precompiled
> binaries, all from Maciej's packages (glibc-2.2.2-2.mipsel.rpm,
> gcc-2.95.3-14.mipsel.rpm, binutils-2.10.91-1.mipsel.rpm plus devel and
> dependency packages). Gawk and perl are self-compiled inside the
> chroot()-environment. When trying to compile fileutils, the ./configure
> starts ok, but when coming to "checking for working mktime..." the script
> just hangs forever, and according to top there is nothing consuming CPU
> time (except for top itself). Compiling the fileutils on the "host
> system", i.e. outside the chroot()-environment using egcs-1.0.3a and
> glibc-2.0.6 the problem does not appear. Can anybody confirm this on
> another system? Any ideas what can be the reason for this?
Does you chroot environment have a mounted /proc filesystem? In the past
we had obscure libc bugs which were triggered when /proc were not
mounted.
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: build-problems: GNU fileutils 4.01 on mipsel with glibc 2.2.2
2001-03-04 22:15 ` Ralf Baechle
@ 2001-03-05 18:59 ` Karsten Merker
0 siblings, 0 replies; 5+ messages in thread
From: Karsten Merker @ 2001-03-05 18:59 UTC (permalink / raw)
To: linux-mips
On Sun, Mar 04, 2001 at 11:15:34PM +0100, Ralf Baechle wrote:
[glibc-2.2.2, gcc-2.95.3]
> > chroot()-environment. When trying to compile fileutils, the ./configure
> > starts ok, but when coming to "checking for working mktime..." the script
> > just hangs forever, and according to top there is nothing consuming CPU
> > time (except for top itself). Compiling the fileutils on the "host
> > system", i.e. outside the chroot()-environment using egcs-1.0.3a and
> > glibc-2.0.6 the problem does not appear. Can anybody confirm this on
> > another system? Any ideas what can be the reason for this?
>
> Does you chroot environment have a mounted /proc filesystem? In the past
> we had obscure libc bugs which were triggered when /proc were not
> mounted.
I had not mounted /proc, but doing so does not make any difference :-(.
Greetings,
Karsten
--
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: build-problems: GNU fileutils 4.01 on mipsel with glibc 2.2.2
2001-03-04 20:36 build-problems: GNU fileutils 4.01 on mipsel with glibc 2.2.2 Karsten Merker
2001-03-04 22:15 ` Ralf Baechle
@ 2001-03-06 6:32 ` Keith M Wesolowski
2001-03-06 13:59 ` Ralf Baechle
1 sibling, 1 reply; 5+ messages in thread
From: Keith M Wesolowski @ 2001-03-06 6:32 UTC (permalink / raw)
To: Karsten Merker; +Cc: linux-mips
On Sun, Mar 04, 2001 at 09:36:09PM +0100, Karsten Merker wrote:
> starts ok, but when coming to "checking for working mktime..." the script
> just hangs forever, and according to top there is nothing consuming CPU
...
> glibc-2.0.6 the problem does not appear. Can anybody confirm this on
> another system? Any ideas what can be the reason for this?
I can confirm that this does *not* happen for me with the same C
library but current CVS binutils and gcc (3.0 branch) on a big-endian
system. I have observed a definite and reproducible problem, however,
with the version of binutils you described; in my case, the symptom
was insertion of garbage instructions into my kernel. The problem
went away when I upgraded binutils. I have no idea whether this is
related to the problem you are seeing.
I would suggest that you extract the test that configure is running
into a small C program (the tests are usually C programs); try to
compile, link, and run that program, and see what happens. It could
be that the compiler or linker is hanging trying to build it, or that
the program itself hangs for some reason. If the program hangs, run
it in a debugger and/or use strace. Then post a minimal testcase.
--
Keith M Wesolowski <wesolows@foobazco.org> http://foobazco.org/~wesolows
------(( Project Foobazco Coordinator and Network Administrator ))------
"I should have crushed his marketing-addled skull with a fucking bat."
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-03-06 14:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-04 20:36 build-problems: GNU fileutils 4.01 on mipsel with glibc 2.2.2 Karsten Merker
2001-03-04 22:15 ` Ralf Baechle
2001-03-05 18:59 ` Karsten Merker
2001-03-06 6:32 ` Keith M Wesolowski
2001-03-06 13:59 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox