revision 14457: make 3.79 ok, 3.80 unhappy

Denis Vlasenko vda at ilport.com.ua
Mon Mar 6 22:25:39 PST 2006


On Monday 06 March 2006 19:03, Bernhard Fischer wrote:
> So on Redhat 9 everything is ok (just verified on 2 other distros which
> use make-3.80 that they also work as expected: redhat AS4 and suse-9.3).
> This begs the question what distribution you are using? Where can i get
> the source including the patches from that make-3.80 you are using?

It's a vanilla make 3.80 built from source. Maybe disros ship patched make?

Anyway, new revision fares better:

# svn update
At revision 14457.

# make -v
GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for i386-slackware-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
...

# make allyesconfig >/dev/null
/.local/tmp/busybox/e2fsprogs/Makefile.in:82: FIXME: change .c to include their stuff relative to /.local/tmp/busybox/e2fsprogs
sed: invalid option -- i
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
...

(I guess my sed is too old. Will update it now...)

make 3.80 is still unhappy:

# make -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

# make allyesconfig
/.share/usr/src2/bbox/busybox.new/e2fsprogs/Makefile.in:82: FIXME: change .c to include their stuff relative to /.share/usr/src2/bbox/busybox.new/e2fsprogs
make: *** virtual memory exhausted.  Stop.

Strace of "make allyesconfig" ends with:
...
brk(0)                                  = 0x80af000
brk(0x80b0000)                          = 0x80b0000
brk(0)                                  = 0x80b0000
brk(0x80b2000)                          = 0x80b2000
brk(0)                                  = 0x80b2000
brk(0x80b3000)                          = 0x80b3000
stat64("/.share/usr/src2/bbox/busybox.new/libbb", {st_mode=S_IFDIR|0755, st_size=3504, ...}) = 0
open("/.share/usr/src2/bbox/busybox.new/libbb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
fstat64(6, {st_mode=S_IFDIR|0755, st_size=3504, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40194000
getdents64(6, /* 106 entries */, 131072) = 3880
getdents64(6, /* 0 entries */, 131072)  = 0
munmap(0x40194000, 135168)              = 0
close(6)                                = 0
brk(0)                                  = 0x80b3000
brk(0x80b4000)                          = 0x80b4000
brk(0)                                  = 0x80b4000
brk(0x80b5000)                          = 0x80b5000
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x40174000, 131072)              = 0
brk(0)                                  = 0x80b5000
brk(0x80bd000)                          = 0x80bd000
mmap2(NULL, 4294963200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 4294963200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
write(2, "make: *** ", 10)              = 10
write(2, "virtual memory exhausted", 24) = 24
write(2, ".  Stop.\n", 9)               = 9
chdir("/.share/usr/src2/bbox/busybox.new") = 0
exit_group(2)  


4294963200 is 0xfffff000.
--
vda


More information about the busybox mailing list