Re: ADV: Error on compile

Felix von Leitner <[email protected]>
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
> I tried to compile dietlibc on my little Debian Server an became the
> following error:

> bin-arm/diet gcc -D__dietlibc__ -pipe -nostdinc -Os
> -fomit-frame-pointer -fstrict-aliasing -mabi=aapcs-linux
> -mfloat-abi=soft -mno-thumb-interwork -W -Wall -Wextra
> -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations
> -Wno-switch -Wno-unused -Wredundant-decls -o bin-arm/elftrunc
> contrib/elftrunc.c
> make: *** [bin-arm/elftrunc] Speicherzugriffsfehler

> I have no idea, what's the problem. Can someone give me a hint?

That indicates an error in the startup code.
Can you please do this:

  $ make clean
  $ make DEBUG=1

It should crash at the same point but this time you have debug symbols.
Then do this:

  $ gdb bin-arm/diet
  [...]
  (gdb) r

it should tell you the program crashed, and where.  Then send us that
information.

Felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.