Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Recent changes to make breaking tools?
On Fri, 15 Feb 2008, David Holland wrote:
On Fri, Feb 15, 2008 at 04:06:17AM -0800, Paul Goyette wrote:
> I just updated sources a few minutes ago and tried to do a 'build.sh
> release' for both port-amd64 and port-i386. In both cases, as soon as
> build.sh tried to install an updated copy of texinfo, nbmake dropped
> core. There doesn't seem to be any symbols around for nbmake (or at
> least I can't find them) but here's the backtrace.
Does the same thing happen if you just fire off nbmake by hand in
texinfo, or does it require being run from build.sh? If the former,
rebuild nbmake with DBG=-g (or whatever the magic incantation is)...
OK, I managed to rebuild nbmake with -g option. For future reference,
the magic incantation was
HOST_FLAGS="-O0 -g" build.sh -r ...
Sure enough, as soon as it tries to run "make install" in texinfo/intl
it drops another core. Here's some initial info from the core:
Core was generated by `nbmake'.
Program terminated with signal 10, Bus error.
#0 0x000000000040ced3 in JobDoOutput (job=0x7f7ffda3b000, finish=0)
at /build/src/tools/make/../../usr.bin/make/job.c:1847
1847 MESSAGE(stdout, job->node);
(gdb) bt
#0 0x000000000040ced3 in JobDoOutput (job=0x7f7ffda3b000, finish=0)
at /build/src/tools/make/../../usr.bin/make/job.c:1847
#1 0x000000000040d2b4 in Job_CatchOutput ()
at /build/src/tools/make/../../usr.bin/make/job.c:2034
#2 0x0000000000414eb9 in Make_Run (targs=0x7f7ffda9eb20)
at /build/src/tools/make/../../usr.bin/make/make.c:1531
#3 0x00000000004116e4 in main (argc=4, argv=0x7f7fffffce88)
at /build/src/tools/make/../../usr.bin/make/main.c:1112
(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}
(gdb) list
1842 * we know there's no newline at the end, so we add one of
1843 * our own free will.
1844 */
1845 if (*cp != '\0') {
1846 if (!beSilent && job->node != lastNode) {
1847 MESSAGE(stdout, job->node);
1848 lastNode = job->node;
1849 }
1850 (void)fprintf(stdout, "%s%s", cp, gotNL ? "\n" : "");
1851 (void)fflush(stdout);
(gdb)
----------------------------------------------------------------------
| 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