From: vital_pourprix AT my-deja DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: [gcc build] genattrtab crash Date: Wed, 23 Jun 1999 15:02:12 GMT Organization: Deja.com - Share what you know. Learn what you don't. Lines: 53 Message-ID: <7kqstd$968$1@nnrp1.deja.com> References: NNTP-Posting-Host: 195.248.2.8 X-Article-Creation-Date: Wed Jun 23 15:02:12 1999 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98) X-Http-Proxy: 1.0 firewall.heliovisionsproductions.fr:3128 (Squid/2.0.RELEASE), 1.0 proxy.asi.fr:3128 (Squid/2.2.STABLE3), 1.0 x38.deja.com:80 (Squid/1.1.22) for client 192.168.69.98, 195.248.20.242, 195.248.2.8 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article , djgpp AT delorie DOT com wrote: > > On Tue, 22 Jun 1999 vital_pourprix AT my-deja DOT com wrote: > > > Building a cros compiler under Win98, the binary genattrtab crashes on > > some (the biggests) .MD files in the loop that "sorts the array of ops > > into increasing ready cost order", function expand_units, file > > genattrtab.c. > > Please post the relevant information here. What version of the > compiler did you try to build, how did you configure the compiler, > what was the command issued by Make that crashed, and the entire exact > crash message, complete with registers' dump and call frame > traceback--all this is required to give you any meaningful help. > gcc 2.8.1, genattrtab is compiled 'by hand', and for axample with config\i386\i386.md, u (which should go from 0 to 2) has the value 7013020, and an access violation occures. The problem must come from a bad option somewhere when building, but I don't see where. The program runs whith some machine description files like sh.md. cl -Zi -c -DIN_GCC -Di386 -DWIN32 -D_WIN32 -D_M_IX86=300 -D_X86_=1 -DALMOST_STDC -D_MSC_VER=800 -D__MSDOS__ -Foobstack.o -D__STDC__ -Ox - DSNPSX -I. -I. -I./config obstack.c cl -Zi -DIN_GCC -Di386 -DWIN32 -D_WIN32 -D_M_IX86=300 -D_X86_=1 - DALMOST_STDC -D_MSC_VER=800 -D__MSDOS__ -Foalloca.o -D__STDC__ -Ox - DSNPSX -I. -I. -I./config -c alloca.c cl -Zi -c -DIN_GCC -Di386 -DWIN32 -D_WIN32 -D_M_IX86=300 -D_X86_=1 -DALMOST_STDC -D_MSC_VER=800 -D__MSDOS__ -Fogenattrtab.o -D__STDC__ -Ox -DSNPSX -I. -I. -I./config ./genattrtab.c cl -Zi -c -DIN_GCC -Di386 -DWIN32 -D_WIN32 -D_M_IX86=300 -D_X86_=1 -DALMOST_STDC -D_MSC_VER=800 -D__MSDOS__ -Fortl.o -D__STDC__ -Ox - DSNPSX -I. -I. -I./config rtl.c cl -Zi -c -DIN_GCC -Di386 -DWIN32 -D_WIN32 -D_M_IX86=300 -D_X86_=1 -DALMOST_STDC -D_MSC_VER=800 -D__MSDOS__ -Foprint-rtl.o -D__STDC__ -Ox - DSNPSX -I. -I. -I./config print-rtl.c cl -Zi -c -DIN_GCC -Di386 -DWIN32 -D_WIN32 -D_M_IX86=300 -D_X86_=1 -DALMOST_STDC -D_MSC_VER=800 -D__MSDOS__ -Fortlanal.o -D__STDC__ -Ox - DSNPSX -I. -I. -I./config rtlanal.c link -debug -subsystem:console -entry:mainCRTStartup - stack:1000000,1000 -out:genattrtab.exe genattrtab.o rtl.o print-rtl.o rtlanal.o obstack.o alloca.o libc.lib kernel32.lib advapi32.lib Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.