[Uclinux-h8-devel] Re: Seg. fault on 2.4.x compile

Back to archive index

Yoshinori Sato ysato****@users*****
2004年 3月 24日 (水) 22:13:14 JST


At Wed, 24 Mar 2004 00:53:50 -0800,
Yoichi Koyanagi wrote:
> 
> 小柳です。こんにちは。
> 
> 今日たまたま linux-2.4.x を最新に update していつもと
> 同じように compile してみたところ、Segmentation fault
> がおきてしまいました。gcc は 3.3 で ecos の gcc.diff を
> あてています。
> 
> h8300-elf-ld -T arch/h8300/platform/h8300h/aki3068net/ram.ld -relax arch/h8300/platform/h8300h/aki3068net/crt0_ram.o init/main.o init/version.o init/do_mounts.o \
>         --start-group \
>         arch/h8300/kernel/kernel.o arch/h8300/mm/mm.o arch/h8300/platform/h8300h/platform.o arch/h8300/platform/h8300h/aki3068net/aki3068net.o kernel/kernel.o mmnommu/mmnommu.o fs/fs.o ipc/ipc.o \
>          drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/ide/idedriver.o drivers/media/media.o \
>         net/network.o \
>         /share/src/uClinux/uClinux-dist-H8/uClinux-2.4.x/lib/lib.a arch/h8300/lib/lib.a /usr/local/h8300-elf/lib/gcc-lib/h8300-elf/3.3/h8300h/int32/libgcc.a \
>         --end-group \
>         -o linux
> make[1]: *** [linux] Segmentation fault
> make[1]: *** Deleting file `linux'
> make[1]: Leaving directory `/share/src/uClinux/uClinux-dist-H8/uClinux-2.4.x'
> make: *** [linux] Error 1

落ちているのはldなのでbinutilsの問題ですね。
 
> どのファイルが更新されたのがきっかけでこうなってしまったのかわからず、
> きちんと報告できなくて申し訳ありませんが、何か手がかりはありますでしょうか。
> いつもトラブル解決のお願いばかりで大変恐縮ですが、よろしくお願いいたします。

最近いじったのは
arch/h8300/kernel/ptrace.c
arch/h8300/platform/{h8300h,h8s}/Makefile
arch/h8300/platform/{h8300h,h8s}/ptrace_*.c
include/asm-h8300/ptrace.h
あたりなので、binutilsにはあんまり関係ないような気がしますねえ。

あとは…すこし前にLDFLAGSあたりを修正した様な気がするので、
arch/h8300/platform/h8300h/Rules.make
を、ひとつ前に戻して試して見てください。

-- 
Yoshinori Sato
<ysato****@users*****>



Uclinux-h8-devel メーリングリストの案内
Back to archive index