On Nov 16, 1:20pm, tsut...@ceres.dti.ne.jp (Izumi Tsutsui) wrote:
-- Subject: Re: CVS commit: src/sys/arch/atari/stand/installboot
| Christos, could you please at least compile before commit?
I compiled, but not with the right flags (obviously).
| http://mail-index.netbsd.org/source-changes/201
christos@ wrote:
> | Program received signal SIGSEGV, Segmentation fault.
> | 0x0007d662 in mbrtowc (ps=0x0, max_sz=1, str=0xffefdc27 "0123456789",
> wc=0x0)
> | at /r/work/netbsd-7/src/distrib/utils/libhack/multibyte.c:15
> | 15 return str == NULL || (*wc = (unsigned char)*str)
>- uint16_t sum;
>+ union {
>+ struct bootblock *bbp;
>+ uint16_t *word; /* to fill cksum word */
>+ } bbsec;
>...
>- sum = 0;
>- memcpy(bb->bb_xxboot + 255 * sizeof(sum), &sum, sizeof(sum));
>- sum = 0x1234 - abcksum(bb->b
>>> Takeshi Nakayama wrote
> >>> Justin Cormack wrote
>
> > Er, you can't do that.
> >
> > 1. It breaks the rump builds on most platforms
> > http://build.myriabit.eu:8012/waterfall as the prototypes dont match
> > eg see
> > http://build.myriabit.eu:8012/builders/ppc64-cross/builds/5585/step
>>> Justin Cormack wrote
> Er, you can't do that.
>
> 1. It breaks the rump builds on most platforms
> http://build.myriabit.eu:8012/waterfall as the prototypes dont match
> eg see
> http://build.myriabit.eu:8012/builders/ppc64-cross/builds/5585/steps/shell_3/logs/stdio
It seems that posix say
Date: Sat, 15 Nov 2014 13:43:16 +0900
From: Izumi Tsutsui
-uint16_t sum;
+union {
+struct bootblock *bbp;
+uint16_t *word; /* to fill cksum word */
+} bbsec;
...
-sum = 0;
-memcpy(bb->bb_xxboot + 255 * sizeo
On Sat, Nov 15, 2014 at 6:49 PM, Takeshi Nakayama wrote:
> Module Name:src
> Committed By: nakayama
> Date: Sat Nov 15 18:49:05 UTC 2014
>
> Modified Files:
> src/sys/netsmb: iconv.c
> src/sys/rump/dev/lib/libnetsmb: Makefile
> Added Files:
> src/sys/rump/de
On Nov 15, 10:46pm, tsut...@ceres.dti.ne.jp (Izumi Tsutsui) wrote:
-- Subject: Re: CVS commit: src/sys/arch/atari/stand/installboot
| Program received signal SIGSEGV, Segmentation fault.
| 0x0007d662 in mbrtowc (ps=0x0, max_sz=1, str=0xffefdc27 "0123456789", wc=0x0)
| at /r/work/netbsd-7/src/d
On Nov 15, 1:43pm, tsut...@ceres.dti.ne.jp (Izumi Tsutsui) wrote:
-- Subject: Re: CVS commit: src/sys/arch/atari/stand/installboot
| How about this one? (cksum seems updated properly on the real machine)
That looks nicer, go for it!
christos
|
| --- installboot/installboot.c 2014-11-14 13:21:1
I wrote:
> With unstripped binary, it looks distrib/utils/libhack issue?
>
> ---
> (gdb) run y/0123456789/abcdefghij/
> Starting program:
> /r/work/netbsd-7/src/distrib/atari/floppies/install/obj.atari/sed/sed
> y/0123456789/abcdefghij/
>
> Program received signal SIGSEGV, Segmentation fault.
martin@ wrote:
> I still don't see the segmentation violation - what am I missing?
> Gdb is a bit confused about the stack:
>
> (gdb) bt
> #0 0x0008c2b8 in ?? ()
> #1 0xaba4 in ?? ()
> #2 0xbc34 in ?? ()
> #3 0x0006fce8 in ?? ()
> #4 0x in ?? ()
With unstripped binary, it lo
11 matches
Mail list logo