Chen-tao / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

x86_64-linux-icc target has broken build due to failing obj_int_extract #326

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using the Intel compiler target on 64bit is broken since obj_int_extract is 
failing to extract the right stuff when the asm_enc_offsets.c file is compiled 
by the Intel compiler.

The only output of the following command

obj_int_extract rvds vp8/encoder/asm_enc_offsets.c.o

is "    END"

Environment: Ubuntu 10.04, Intel icc version 'icc (ICC) 12.0.3 20110309'

I have attached the compiled icc version of asm_enc_offsets.c. From what I can 
tell, there are no 

Original issue reported on code.google.com by arosenb...@logitech.com on 30 Apr 2011 at 6:46

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by iss...@webmproject.org on 30 Apr 2011 at 6:50

GoogleCodeExporter commented 9 years ago

Original comment by slavarn...@google.com on 2 May 2011 at 1:53

GoogleCodeExporter commented 9 years ago
Yes, the problem is that when -ipo is specified, the object file does not 
contain the information we need. In addition, icc (64bit only) does not create 
a section header string table (shstrtab), only a string table (strtab) in the 
object file. We can hack around this with https://review.webmproject.org/2054 
but I'm looking into better alternatives.

Original comment by johannkoenig@google.com on 2 May 2011 at 3:20

GoogleCodeExporter commented 9 years ago
Issue 334 has been merged into this issue.

Original comment by johannkoenig@google.com on 1 Jun 2011 at 3:19

GoogleCodeExporter commented 9 years ago
Although the object file does not contain any data, if we generate a shared 
object (.so) file with it, the information is there. Working on parsing the .so 
files.

Original comment by johannkoenig@google.com on 1 Jun 2011 at 3:20

GoogleCodeExporter commented 9 years ago
Not sure if this helps in coming up a solution, I copied the file 
"asm_enc_offsets.asm" from my x86_64-linux-gcc build, which was able to get the 
library and vpxenc/dec to build and run.

Original comment by ya...@google.com on 1 Jun 2011 at 3:50

GoogleCodeExporter commented 9 years ago
There's another workaround detailed here: https://review.webmproject.org/2054

Neither of them are nice, and the copying the .asm from gcc is potentially 
dangerous (it's unlikely that icc and gcc would specify different type sizes, 
but they might)

I think I've got the .so parsing down, moving on to makefiles ...

Original comment by johannkoenig@google.com on 1 Jun 2011 at 4:00

GoogleCodeExporter commented 9 years ago
Pending:
https://review.webmproject.org/2411

Original comment by johannkoenig@google.com on 6 Jun 2011 at 8:14

GoogleCodeExporter commented 9 years ago
reverted, but then actually fixed
https://review.webmproject.org/2441

Original comment by johannkoenig@google.com on 9 Jun 2011 at 12:35