[Bug 1135744] New: [Staging] texlive fails to build against gc 8.x
http://bugzilla.opensuse.org/show_bug.cgi?id=1135744 Bug ID: 1135744 Summary: [Staging] texlive fails to build against gc 8.x Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- gc 8.0.4 was submitted for inclusion into Factory. During the staging process though, texlive resulted in a build failure
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: picture.o: in function `operator new(unsigned long, GCPlacement, void (*)(void*, void*), void*)': [ 1376s] /usr/include/gc/gc_cpp.h:545: undefined reference to `GC_throw_bad_alloc()' [ 1376s] /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: settings.o: in function `operator new(unsigned long, GCPlacement, void (*)(void*, void*), void*)': [ 1376s] /usr/include/gc/gc_cpp.h:545: undefined reference to `GC_throw_bad_alloc()' [ 1376s] /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: settings.o: in function `gc::operator new(unsigned long)': [ 1376s] /usr/include/gc/gc_cpp.h:410: undefined reference to `GC_throw_bad_alloc()' [ 1376s] /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /usr/include/gc/gc_cpp.h:410: undefined reference to `GC_throw_bad_alloc()' [ 1376s] /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /usr/include/gc/gc_cpp.h:410: undefined reference to `GC_throw_bad_alloc()' [ 1376s] /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: settings.o:/usr/include/gc/gc_cpp.h:410: more undefined references to `GC_throw_bad_alloc()' follow
This can either be an issue in texlive (making use of code exposed in a library it is not linking, e.g. gccpp) or gc might use them implicitly and not linking the lib itself (possibly texlive needs a different way to identify what to link) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1135744 http://bugzilla.opensuse.org/show_bug.cgi?id=1135744#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jengelh@inai.de, | |uli@suse.com Assignee|bnc-team-screening@forge.pr |werner@suse.com |ovo.novell.com | --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> --- For now assigning to Werner, texlive maintainer, CC uli , gc maintainer and Jan, GC submitter -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1135744 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amajer@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1135744 http://bugzilla.opensuse.org/show_bug.cgi?id=1135744#c2 --- Comment #2 from Dominique Leuenberger <dimstar@opensuse.org> --- (In reply to Dominique Leuenberger from comment #1)
For now assigning to Werner, texlive maintainer, CC uli , gc maintainer and Jan, GC submitter
erm - Jan only commented on the previous SR (giving the hint about gccpp) - the submitter of course is Adam -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1135744 http://bugzilla.opensuse.org/show_bug.cgi?id=1135744#c7 --- Comment #7 from Jan Engelhardt <jengelh@inai.de> ---
It should be as it was in past the *ALL* libraries even those required by the libraries on the command line should be expanded.
A program should always fully specify all libraries it itself intends to make use of, because relying on implicitly-imported transitive libraries or C headers or whatever else is a terrible idea, as that implicit list can change at any time. The --as-needed mechanism which is more or less responsible for what is observed essentially disables this implicitness for good measure - which is actually how Unix linkers worked before ld.bfd proliferated with its behavior. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1135744 http://bugzilla.opensuse.org/show_bug.cgi?id=1135744#c13 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #13 from Dominique Leuenberger <dimstar@opensuse.org> --- (In reply to Swamp Workflow Management from comment #12)
This is an autogenerated message for OBS integration: This bug (1135744) was mentioned in https://build.opensuse.org/request/show/713338 Factory / texlive
=> FIXED -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com