Closed Bug 1194520 Opened 4 years ago Closed 4 years ago

requires dynamic R_X86_64_PC32 reloc against 'FT_Get_X11_Font_Format' which may overflow at runtime

Categories

(Firefox Build System :: General, defect)

40 Branch
defect
Not set

Tracking

(firefox43 fixed, firefox-esr3842+ fixed)

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed
firefox-esr38 42+ fixed

People

(Reporter: robertthyberg, Assigned: glandium)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150811061821

Steps to reproduce:

./mach build 

variation of Bug 1143411


Actual results:

 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_destroy' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_tags_from_script' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_set_script' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_collect_lookups' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_lookup_collect_glyphs' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_set_scale' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_set_create' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_get_glyph_infos' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_set_destroy' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_destroy' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_get_face' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_get_glyph_positions' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_set_is_empty' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_set_next' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_shape' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_set_direction' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_create' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_lookup_would_substitute' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_add_utf32' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_set_subtract' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libfreetype.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'FT_Get_X11_Font_Format' in /usr/lib64/libfreetype.so is referenced by DSO /usr/lib64/libfontconfig.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'FT_Get_X11_Font_Format' in /usr/lib64/libfreetype.so is referenced by DSO /usr/lib64/libcairo.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_destroy' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_tags_from_script' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_set_script' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_language_get_feature_tags' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_funcs_set_glyph_v_advance_func' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_tag_to_script' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_get_length' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_funcs_set_glyph_func' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_set_ppem' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_get_direction' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_funcs_set_glyph_h_kerning_func' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_script_find_language' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_funcs_set_glyph_extents_func' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_set_scale' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_get_glyph_infos' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_reverse' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_add_utf8' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_reset' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.75 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_create' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_funcs_create' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_table_get_script_tags' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_set_flags' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_destroy' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_set_language' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_funcs_set_glyph_v_origin_func' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_get_glyph_positions' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_language_get_required_feature_index' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_language_to_string' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/hb-common.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_set_funcs' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_funcs_set_glyph_h_origin_func' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_tag_from_string' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/hb-common.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_tag_from_language' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_funcs_set_glyph_contour_point_func' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_font_funcs_set_glyph_h_advance_func' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_script_get_language_tags' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_table_find_script' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_language_from_string' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/hb-common.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_face_destroy' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_add' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_language_find_feature' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_tag_to_language' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_shape' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src1.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_set_direction' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_set_unicode_funcs' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_create' in /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../gfx/harfbuzz/src/Unified_cpp_gfx_harfbuzz_src0.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
 2:03.76 ../../build/unix/gold/ld: error: /home/thymaster/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/librarFreeType.o: requires dynamic R_X86_64_PC32 reloc against 'FT_Get_X11_Font_Format' which may overflow at runtime; recompile with -fPICy/../../gfx/skia/SkFontHost_
 2:03.76 ../../build/unix/gold/ld: error: read-only segment has dynamic relocations
 2:03.76 ../../build/unix/gold/ld: error: hidden symbol 'FT_Get_X11_Font_Format' is not defined locally
 2:03.76 collect2: error: ld returned 1 exit status
 2:03.76 /home/thymaster/mozilla-central/config/rules.mk:826: recipe for target 'libxul.so' failed
 2:03.76 make[5]: *** [libxul.so] Error 1
 2:03.76 /home/thymaster/mozilla-central/config/recurse.mk:71: recipe for target 'toolkit/library/target' failed
 2:03.76 make[4]: *** [toolkit/library/target] Error 2
 2:03.76 /home/thymaster/mozilla-central/config/recurse.mk:32: recipe for target 'compile' failed
 2:03.76 make[3]: *** [compile] Error 2
 2:03.76 /home/thymaster/mozilla-central/config/rules.mk:549: recipe for target 'default' failed
 2:03.76 make[2]: *** [default] Error 2
 2:03.76 /home/thymaster/mozilla-central/client.mk:401: recipe for target 'realbuild' failed
 2:03.76 make[1]: *** [realbuild] Error 2
 2:03.76 client.mk:171: recipe for target 'build' failed
 2:03.76 make: *** [build] Error 2



Expected results:

a successful compile
Assignee: nobody → mh+mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #8647805 - Flags: review?(mshal)
Attachment #8647805 - Flags: review?(mshal) → review+
Duplicate of this bug: 1194964
Patch worked for me.
https://hg.mozilla.org/mozilla-central/rev/af40750720b5
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Comment on attachment 8647805 [details] [diff] [review]
Add a system header wrapper for <freetype/ftfntfmt.h>

Gentoo (and others packaging from source, most likely) would appreciate it if this could be approved for ESR38.

[Approval Request Comment]
If this is not a sec:{high,crit} bug, please state case for ESR consideration: Enables building of ESR on systems with newer freetype.
User impact if declined: won't build on systems with newer freetype.
Fix Landed on Version: mozilla-43
Risk to taking this patch (and alternatives if risky): none
String or UUID changes made by this patch: none
Attachment #8647805 - Flags: approval-mozilla-esr38?
Comment on attachment 8647805 [details] [diff] [review]
Add a system header wrapper for <freetype/ftfntfmt.h>

While this is not a sec-crit or sec-high, the patch is straight forward and improves our ability to support font rendering using freetype. Let's uplift to ESR38.4.0.
Attachment #8647805 - Flags: approval-mozilla-esr38? → approval-mozilla-esr38+
Duplicate of this bug: 1213186
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.