public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Webkit-gtk 2.2.3 LTO problem
@ 2014-01-04 18:16 David Kredba
  2014-01-07 10:03 ` Florian Weimer
  0 siblings, 1 reply; 3+ messages in thread
From: David Kredba @ 2014-01-04 18:16 UTC (permalink / raw)
  To: gcc-help

Hello,
Could you please tell me if this can be solved locally or I have to go
to Webkit-gtk maintainers or report bug to GCC Bugzilla?
-fPIC -DPIC was used during build process, it detected it automatically.

/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /var/tmp/portage/net-libs/webkit-gtk-2.2.3/temp/cccdGRIz.ltrans0.ltrans.o:
requires dynamic R_X86_64_PC32 reloc against 'llint_entry_osr' which
may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_entry_osr' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_entry_osr' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_entry_osr_function_for_call' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_stack_check' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_entry_osr_function_for_construct' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_stack_check' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_entry_osr_function_for_call_arityCheck' is
not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'slow_path_call_arityCheck' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol
'llint_entry_osr_function_for_construct_arityCheck' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'slow_path_construct_arityCheck' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_create_activation' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'slow_path_create_arguments' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_new_object' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'slow_path_eq' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'slow_path_neq' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_check_has_instance' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_instanceof' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_get_by_id' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_get_by_id' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_get_by_id' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_get_arguments_length' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_put_by_id' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_get_by_val' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_get_argument_by_val' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_get_by_pname' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_put_by_val' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_switch_imm' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_switch_char' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_new_func' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_tear_off_activation' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_tear_off_arguments' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_replace' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_replace' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_next_pname' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_replace' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_resolve_scope' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_get_from_scope' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_put_to_scope' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_new_array' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_new_array_with_size' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_new_array_buffer' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_new_regexp' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_del_by_id' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_del_by_val' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_put_by_index' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_put_getter_setter' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_jtrue' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_jfalse' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_jless' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_jnless' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_jgreater' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_jngreater' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_jlesseq' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_jnlesseq' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_jgreatereq' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_jngreatereq' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_loop_osr' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_handle_watchdog_timer' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_switch_string' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_new_func_exp' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_call' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_construct' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_call_varargs' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_call_eval' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_get_pnames' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_push_with_scope' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_pop_scope' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_push_name_scope' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_throw' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_throw_static_error' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_profile_will_call' is not
defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_profile_did_call' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_slow_path_debug' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_throw_from_native_call' is not defined
locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'llint_throw_from_native_call' is not defined
locally
collect2: error: ld returned 1 exit status
GNUmakefile:36001: recipe for target 'libjavascriptcoregtk-3.0.la' failed

gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.0-alpha20131231/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.9.0_alpha20131231/work/gcc-4.9-20131231/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.0-alpha20131231
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.0-alpha20131231
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.0-alpha20131231/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.0-alpha20131231/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20131231/include/g++-v4
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.0-alpha20131231/python
--enable-languages=c,c++,java,go,objc,obj-c++,fortran,ada
--enable-obsolete --disable-werror --with-system-zlib --enable-nls
--without-included-gettext --enable-checking=yes
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo
4.9.0_alpha20131231' --enable-libstdcxx-time --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-multilib --with-multilib-list=m32,m64 --disable-altivec
--disable-fixed-point --enable-targets=all --enable-java-awt=gtk
--enable-libgomp --enable-libmudflap --enable-libssp --enable-lto
--without-cloog
Thread model: posix
gcc version 4.9.0-alpha20131231 20131231 (experimental) (Gentoo
4.9.0_alpha20131231)

LD is ld-gold, it stopped the same way with ld.bfd without -ggdb and
crashed in ld.bfd with -ggdb in CFLAGS.

I used AR=gcc-ar NM=gcc-nm RANLIB=gcc-ranlib for above list.

Binutils are 2.24 (vanilla, no Gentoo patches).

Thank you in advance.

David

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Webkit-gtk 2.2.3 LTO problem
  2014-01-04 18:16 Webkit-gtk 2.2.3 LTO problem David Kredba
@ 2014-01-07 10:03 ` Florian Weimer
  2014-01-07 17:52   ` David Kredba
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer @ 2014-01-07 10:03 UTC (permalink / raw)
  To: David Kredba, gcc-help

On 01/04/2014 07:15 PM, David Kredba wrote:

> Could you please tell me if this can be solved locally or I have to go
> to Webkit-gtk maintainers or report bug to GCC Bugzilla?
> -fPIC -DPIC was used during build process, it detected it automatically.

This looks pretty much like your elfutils problem.

I think you need to fix the Gentoo LTO build support.

-- 
Florian Weimer / Red Hat Product Security Team

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Webkit-gtk 2.2.3 LTO problem
  2014-01-07 10:03 ` Florian Weimer
@ 2014-01-07 17:52   ` David Kredba
  0 siblings, 0 replies; 3+ messages in thread
From: David Kredba @ 2014-01-07 17:52 UTC (permalink / raw)
  To: Florian Weimer; +Cc: gcc-help

Hello, Thank you.

I saw that -fPIC -DPIC is used all the time at compilation time.
It not came from CFLAGS but configure decided to enable them.
I will check it if for some subdir is not removed somehow.

Best regards, David.


2014/1/7 Florian Weimer <fweimer@redhat.com>:
> On 01/04/2014 07:15 PM, David Kredba wrote:
>
>> Could you please tell me if this can be solved locally or I have to go
>> to Webkit-gtk maintainers or report bug to GCC Bugzilla?
>> -fPIC -DPIC was used during build process, it detected it automatically.
>
>
> This looks pretty much like your elfutils problem.
>
> I think you need to fix the Gentoo LTO build support.
>
> --
> Florian Weimer / Red Hat Product Security Team

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-07 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-04 18:16 Webkit-gtk 2.2.3 LTO problem David Kredba
2014-01-07 10:03 ` Florian Weimer
2014-01-07 17:52   ` David Kredba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).