New issue
Advanced search Search tips

Issue 724599 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Jan 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

supersize fails on Linux

Project Member Reported by estevenson@chromium.org, May 19 2017

Issue description

The error I'm seeing:

W   4251 Could not find source path for obj/third_party/freetype/libfreetype.so.6(ftfntfmt.o)
W   4251 Could not find source path for obj/third_party/freetype/libfreetype.so.6(ftfstype.o)
W   4251 Could not find source path for obj/third_party/freetype/libfreetype.so.6(ftinit.o)
W   4252 Could not find source path for obj/third_party/freetype/libfreetype.so.6(ftlcdfil.o)
W   4252 Could not find source path for obj/third_party/freetype/libfreetype.so.6(ftmm.o)
W   4252 Could not find source path for obj/third_party/freetype/libfreetype.so.6(fttype1.o)
W   4252 Could not find source path for obj/third_party/freetype/libfreetype.so.6(cff.o)
W   4253 Could not find source path for obj/third_party/freetype/libfreetype.so.6(pshinter.o)
W   4253 Could not find source path for obj/third_party/freetype/libfreetype.so.6(psnames.o)
W   4253 Could not find source path for obj/third_party/freetype/libfreetype.so.6(raster.o)
Traceback (most recent call last):
  File "app_main.py", line 72, in run_toplevel
  File "tools/binary_size/libsupersize/main.py", line 102, in <module>
    main()
  File "tools/binary_size/libsupersize/main.py", line 98, in main
    args.func(args, parser)
  File "/usr/local/google/code/clankium-linux/chromium/src/tools/binary_size/libsupersize/archive.py", line 696, in Run
    normalize_names=False)
  File "/usr/local/google/code/clankium-linux/chromium/src/tools/binary_size/libsupersize/archive.py", line 502, in CreateSizeInfo
    'One or more source file paths could not be found. Likely caused by '
AssertionError: One or more source file paths could not be found. Likely caused by .ninja files being generated at a different time than the .map file.
 
The error in OP is due to some targets setting an output_extension on Linux.

Commenting out the assert for missing source paths there are a few more errors:
  * Hitting a bunch of "Name missing from aliases" warnings (mostly with large std:: templates)
  * Hitting a few "Symbol not found in any .o files"
  * Hitting a few "Symbol path reported by .map not found by nm."
Cc: estevenson@chromium.org
Owner: ----
Status: Available (was: Assigned)
Not sure if this is still a problem or not, but I'm not planning on working on this anytime soon.

Comment 3 by agrieve@chromium.org, Jan 21 (2 days ago)

Status: Fixed (was: Available)

Sign in to add a comment