#3627 new defect

powerpc/qoriq_e6500_64 rtems-syms unknown machine type

Reported by: Joel Sherrill Owned by:
Priority: normal Milestone: Indefinite
Component: lib/dl Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

rtems-syms does not know 64-bit powerpc.

gmake[5]: Entering directory `/data/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-qoriq_e6500_64-rtems/powerpc-rtems5/c/qoriq_e6500_64/testsuites/libtests'
rtems-syms -e -c "-mcpu=e6500 -m64 -fno-common -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs" -o dl07-sym.o dl07.pre
error: machine-type: unknown machine type: 21

Change History (2)

comment:1 Changed on Nov 28, 2018 at 4:17:02 AM by Chris Johns

I am not sure how clean rtems-ld is for 64bit. Adding the machine type is easy but it could masking hidden issues.

The libelf code is built for 32bit and not 64bit as at the time there was only 32bit arch's. I am not sure how this code goes handling 32bit archs when built for 64bit. Also libdl and rtems-ld would need changes to make sure it is 64bit clean.

comment:2 Changed on Dec 3, 2018 at 6:06:18 AM by Chris Johns

Milestone: 5.1Indefinite
Owner: Chris Johns deleted
Status: assignednew
Note: See TracTickets for help on using tickets.