rtems-tools building error

Denis Obrezkov denisobrezkov at gmail.com
Sun Jan 8 08:08:53 UTC 2017


>
> It seems that I found the solution.
> This is my output from readelf program:
> readelf -h SomeFile
> Заголовок ELF:
>   Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
>   Класс:                             ELF64
>   Данные:                            дополнение до 2, little endian
>   Версия:                            1 (current)
>   OS/ABI:                            UNIX - System V
>   Версия ABI:                        0
>   Тип:                               EXEC (Исполняемый файл)
>   Машина:                            Advanced Micro Devices X86-64
>   Версия:                            0x1
>   Адрес точки входа:               0x401bb0
>   Начало заголовков программы:          64 (байт в файле)
>   Начало заголовков программы:          584096 (байт в файле)
>   Флаги:                             0x0
>   Размер этого заголовка:            64 (байт)
>   Размер заголовков программы:       56 (байт)
>   Число заголовков программы:        9
>   Размер заголовков раздела:         64 (байт)
>   Число заголовков раздела:          40
>   Индекс табл. строк загол. раздела: 37
>
> its fields are in Russian, so I just changed search  fields in native-elf
> format script
> and it works.
>
> --
> Regards, Denis Obrezkov
>

It seems that LANG="POSIX" readelf -h SomeProgram produces the right output
on my system:
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x401bb0
  Start of program headers:          64 (bytes into file)
  Start of section headers:          584096 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         9
  Size of section headers:           64 (bytes)
  Number of section headers:         40
  Section header string table index: 37

The same true for LANG="C" readelf -h ....
-- 
Regards, Denis Obrezkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170108/5bc6aeed/attachment-0001.html>


More information about the users mailing list