Project

General

Profile

Bug #3114

Linker error with 4.1-484 in openelec build env

Added by Kai Sommerfeld almost 5 years ago. Updated over 4 years ago.

Status:
Invalid
Priority:
Normal
Category:
General
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-484
Affected Versions:

Description

Getting following linker error when building latest tvh (4.1-484) with openelec build env:

CC bundle.o
CC tvheadend
In function 'tasklet_disarm.constprop',
inlined from 'dvr_disk_space_done' at src/dvr/dvr_rec.c:1228:3,
inlined from 'dvr_done' at src/dvr/dvr_config.c:1071:3,
inlined from 'main' at src/main.c:1120:145:
src/main.c:380:7: error: attempt to free a non-heap object 'dvr_disk_space_tasklet' [-Werror=free-nonheap-object]
free(tsk);
^
lto1: all warnings being treated as errors

History

#1

Updated by Kai Sommerfeld almost 5 years ago

Ofc this is a compiler error, not a linker error. ;-)

#2

Updated by Jaroslav Kysela almost 5 years ago

It's definitely a false positive from the compiler - the tsk->tsk_allocated is zero in this case. I think that it was an issue with gcc 5.0 (and it's fixed in gcc 5.1).

#3

Updated by Jaroslav Kysela almost 5 years ago

  • Status changed from New to Invalid

Also available in: Atom PDF