#2769 closed defect (invalid)

rtems-syms does not clean up temp files.

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 5.1
Component: unspecified Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

I am seeing temps files such as:

$ ls -las /tmp/rld-*
 0 -rw-------  1 chris  wheel      0 Jul 27 18:16 /tmp/rld--04lbaa.rldxx
 0 -rw-------  1 chris  wheel      0 Jul 27 18:42 /tmp/rld--0niaaa.rldxx
 0 -rw-------  1 chris  wheel      0 Jul 27 18:39 /tmp/rld--0viaaa.rldxx
 0 -rw-------  1 chris  wheel      0 Jul 27 18:38 /tmp/rld--1Hhaaa.rldxx
88 -rw-------  1 chris  wheel  87426 Jul 27 18:30 /tmp/rld--1ibaaa.c
 0 -rw-------  1 chris  wheel      0 Jul 27 18:24 /tmp/rld--2EZaaa.rldxx
 0 -rw-------  1 chris  wheel      0 Jul 29 17:11 /tmp/rld--2rwaaa.rldxx
 0 -rw-------  1 chris  wheel      0 Jul 29 18:14 /tmp/rld--2sBaaa.rldxx
88 -rw-------  1 chris  wheel  88148 Jul 29 17:40 /tmp/rld--2umaaa.c
88 -rw-------  1 chris  wheel  87426 Jul 27 18:25 /tmp/rld--3baaaa.c
88 -rw-------  1 chris  wheel  87426 Jul 27 18:27 /tmp/rld--4Jaaaa.c
 0 -rw-------  1 chris  wheel      0 Jul 27 18:52 /tmp/rld--4Wiaaa.rldxx
 0 -rw-------  1 chris  wheel      0 Jul 27 18:38 /tmp/rld--4bfaaa.rldxx

left in /tmp. They look like symbols and so I suspect rtems-syms when building the testsuite with 4.12 (master). This is on FreeBSD.

Change History (6)

comment:1 Changed on May 11, 2017 at 7:31:02 AM by Sebastian Huber

Milestone: 4.124.12.0

comment:2 Changed on Nov 9, 2017 at 6:27:14 AM by Sebastian Huber

Milestone: 4.12.05.1

Milestone renamed

comment:3 Changed on Apr 12, 2018 at 11:30:08 PM by Chris Johns <chrisj@…>

In 2a61542/rtems:

libdl: RAP format fixes.

  • Do not error if a RAP section is not found.
  • Free a symbol table via the RTL allocator interface.
  • Add the symbols to the global symbol table.

Update #2769

comment:4 Changed on Apr 12, 2018 at 11:30:27 PM by Chris Johns <chrisj@…>

In 31cd205d/rtems:

tools: Add a -N option to force a name on the array.

This can be used to have a different file name for the same data
name.

Update #2769

comment:5 Changed on Apr 12, 2018 at 11:30:41 PM by Chris Johns <chrisj@…>

In 86e79d7/rtems:

testsuites/dl06: Add a test for RAP format.

This test loads a RAP format file that contains calls that are not
in the kernel and linked from libm. It uses and test rtems-ld.

Update #2769

comment:6 Changed on Apr 13, 2018 at 12:30:33 AM by Chris Johns

Resolution: invalid
Status: newclosed

I have add rtems-ld to the testsuite so it and rtems-syms are both run and I cannot see any temp files being left. I wonder if this happens when there is an error?

I am going to close the ticket with invalid and it can be opened again if this appears again.

Note: See TracTickets for help on using tickets.