Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645568 - =media-libs/mlt-6.4.1-r5 - composite_line_yuv_sse2_simple.c: Assembler messages: composite_line_yuv_sse2_simple.c:178: Error: symbol `loop_start1' is already defined
Summary: =media-libs/mlt-6.4.1-r5 - composite_line_yuv_sse2_simple.c: Assembler messag...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: media-video herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2018-01-24 16:24 UTC by Petross404(Petros S)
Modified: 2019-07-18 12:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-libs:mlt-6.4.1-r5:20180124-155227.log (media-libs:mlt-6.4.1-r5:20180124-155227.log,434.45 KB, text/plain)
2018-01-24 16:24 UTC, Petross404(Petros S)
Details
emerge --info (info,25.69 KB, text/plain)
2018-01-24 16:24 UTC, Petross404(Petros S)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petross404(Petros S) 2018-01-24 16:24:02 UTC
Created attachment 516356 [details]
media-libs:mlt-6.4.1-r5:20180124-155227.log

=media-libs/mlt-6.4.1-r5 failes to build with LTO unless 

CFLAGS="${CFLAGS} -flto-partition=1to1"
CXXFLAGS="${CFLAGS}"
LDFLAGS="${LDFLAGS} -flto-partition=1to1"

is used in package.env for example.

composite_line_yuv_sse2_simple.c: Assembler messages:
composite_line_yuv_sse2_simple.c:178: Error: symbol `loop_start1' is already defined
LTRANS statistics
[LTRANS] read 3056 SCCs of average size 1.116165
[LTRANS] 3411 tree bodies read in total
[LTRANS] # of input files: 1
[LTRANS] # of input cgraph nodes: 228
[LTRANS] # of function bodies: 229
[LTRANS] Size of mmap'd section decls: 164286 bytes
[LTRANS] Size of mmap'd section function_body: 423315 bytes
[LTRANS] Size of mmap'd section statics: 0 bytes
[LTRANS] Size of mmap'd section symtab: 0 bytes
[LTRANS] Size of mmap'd section refs: 1562 bytes
[LTRANS] Size of mmap'd section asm: 0 bytes
[LTRANS] Size of mmap'd section jmpfuncs: 0 bytes
[LTRANS] Size of mmap'd section pureconst: 0 bytes
[LTRANS] Size of mmap'd section reference: 79 bytes
[LTRANS] Size of mmap'd section profile: 0 bytes
[LTRANS] Size of mmap'd section symbol_nodes: 33208 bytes
[LTRANS] Size of mmap'd section opts: 0 bytes
[LTRANS] Size of mmap'd section cgraphopt: 17 bytes
[LTRANS] Size of mmap'd section inline: 0 bytes
[LTRANS] Size of mmap'd section ipcp_trans: 1981 bytes
[LTRANS] Size of mmap'd section icf: 0 bytes
[LTRANS] Size of mmap'd section offload_table: 0 bytes
[LTRANS] Size of mmap'd section mode_table: 0 bytes
[LTRANS] Size of mmap'd section hsa: 0 bytes
make[3]: *** [/tmp/portage/media-libs/mlt-6.4.1-r5/temp/cccDI7TH.mk:2: /tmp/portage/media-libs/mlt-6.4.1-r5/temp/ccfU1shw.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Comment 1 Petross404(Petros S) 2018-01-24 16:24:33 UTC
Created attachment 516358 [details]
emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2018-12-31 21:34:18 UTC
What about 6.10.0-r1 and 6.12.0?
Comment 3 Petross404(Petros S) 2019-01-01 15:12:37 UTC
(In reply to Andreas Sturmlechner from comment #2)
> What about 6.10.0-r1 and 6.12.0?

This will take a while for me to test. Have patience.
Comment 4 Petross404(Petros S) 2019-07-18 10:38:19 UTC
I completely forgot about this.

media-libs/mlt-6.16.0-r2 is built fine without any LTO workaround like those in my previous comment.
Comment 5 Andreas Sturmlechner gentoo-dev 2019-07-18 12:38:45 UTC
Thanks for the feedback!