Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Recent changes to make breaking tools?



Looking further, it appears that something is pre-filling the job structure with spaces...

(gdb) x/20 job
0x7f7ffda3b000: 0x20204018     0x20202020     0xfda78620     0x20207f7f
0x7f7ffda3b010: 0xffffffff     0xffffffff     0x20202020     0x20202020
0x7f7ffda3b020: 0x20202020     0x20202003     0x20202026     0x20202024
0x7f7ffda3b030: 0xfda23d50     0x20207f7f     0x74206669     0x20747365
0x7f7ffda3b040: 0x73657927     0x203d2027     0x3b736579     0x65687420
(gdb) print *job
$1 = {pid = 538984472, node = 0x20207f7ffda78620,
  tailCmds = 0xffffffffffffffff, cmdFILE = 0x2020202020202020,
  exit_status = 538976288, job_state = 3 '\003', job_suspended = 32 ' ',
  flags = 8224, jobPipe = {538976294, 538976292},
  inPollfd = 0x20207f7ffda23d50,
outBuf = "if test 'yes' = yes; then test no != no || /bin/sh /build/src/tools/texinfo/../../gnu/dist/texinfo/mkinstalldirs /usr/obj/tooldir/x86_64/amd64/lib; temp=/usr/obj/tooldir/x86_64/amd64/lib/t-charset.a"..., curPos = 0}

So, the job->pid should be 0x4018 but is in fact 0x20204018. And the job->node should be 0x00007f7ffda78620 but the high-order two bytes have been set to 0x2020




On Fri, 15 Feb 2008, Patrick Welche wrote:

Funny, I have a different outcome (sh build.sh -j6 release):

build new make
cleandir until
..
rm -f archive.o.tmp archures.o.tmp bfd.o.tmp bfdio.o.tmp bfdwin.o.tmp 
cache.o.tmp coffgen.o.tmp corefile.o.tmp format.o.tmp init.o.tmp lib_bfd.o.tmp 
opncls.o.tmp reloc.o.tmp section.o.tmp syms.o.tmp targets.o.tmp hash.o.tmp 
linker.o.tmp srec.o.tmp binary.o.tmp tekhex.o.tmp ihex.o.tmp stabs.o.tmp 
stab-syms.o.tmp merge.o.tmp dwarf2.o.tmp simple.o.tmp archive64.o.tmp 
elf32-i386.o.tmp elf32.o.tmp elf.o.tmp elflink.o.tmp elf-strtab.o.tmp 
elf-eh-frame.o.tmp dwarf1.o.tmp i386netbsd.o.tmp aout32.o.tmp elf32-gen.o.tmp 
cpu-i386.o.tmp netbsd-core.o.tmp  archive.so.tmp archures.so.tmp bfd.so.tmp 
bfdio.so.tmp bfdwin.so.tmp cache.so.tmp coffgen.so.tmp corefile.so.tmp 
format.so.tmp init.so.tmp lib_bfd.so.tmp opncls.so.tmp reloc.so.tmp 
section.so.tmp syms.so.tmp targets.so.tmp hash.so.tmp linker.so.tmp srec.so.tmp 
binary.so.tmp tekhex.so.tmp ihex.so.tmp stabs.so.tmp stab-syms.so.tmp 
merge.so.tmp dwarf2.so.tmp simple.so.tmp archive64.so.tmp elf32-i386.so.tmp 
elf32.so.tmp elf.so.tmp elflink.so.tmp elf-strtab.so.tmp elf-eh-fram

 PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
3102 root      25    0   752K 1496K RUN/1     20:22 18.41% 18.41% nbmake
2677 root      26    0   752K 1228K RUN/1     20:34 18.36% 18.36% nbmake
2874 root      26    0   752K 1908K CPU/0     20:52 17.33% 17.33% nbmake
2686 root      25    0   752K 1700K RUN/1     20:42 17.24% 17.24% nbmake
6300 root      26    0   752K 1716K RUN/0     20:12 17.19% 17.19% nbmake
2620 root      25    0   752K 1964K RUN/1     20:42 17.09% 17.09% nbmake
2675 root      26    0   752K 1304K RUN/0     20:56 16.99% 16.99% nbmake
2795 root      26    0   752K 1500K RUN/1     20:32 16.99% 16.99% nbmake
3173 root      26    0   752K 2088K RUN/1     20:22 16.55% 16.55% nbmake
3422 root      25    0   752K   25M RUN/1     20:21 16.21% 16.21% nbmake
2702 root      25    0   752K 1860K RUN/0     20:14 10.89% 10.89% nbmake

process 4322:
#0  0xbbb20c97 in read () from /usr/lib/libc.so.12
#1  0x0804f185 in Job_TokenWithdraw ()
#2  0x0805630c in MakeStartJobs ()
#3  0x0805673a in Make_Run ()
#4  0x08054fc7 in main ()

The others:
#0  0xbbb20cf7 in poll () from /usr/lib/libc.so.12
#1  0x080510c7 in Job_CatchOutput ()
#2  0x08056735 in Make_Run ()
#3  0x08054fc7 in main ()

Cheers,

Patrick

!DSPAM:47b5c9431742109714187!




----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index