#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 05/11/17 at 07:31:02 by Sebastian Huber

Milestone: 4.124.12.0

comment:2 Changed on 11/09/17 at 06:27:14 by Sebastian Huber

Milestone: 4.12.05.1

Milestone renamed

comment:3 Changed on 04/12/18 at 23:30:08 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 04/12/18 at 23:30:27 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 04/12/18 at 23:30:41 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 04/13/18 at 00:30:33 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.