1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] removal of .la from libxt breaks xpdf build
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20removal%20of%20.la%20from%20libxt%20breaks%20xpdf%20build&In-Reply-To=%3CCA%2BCX%2Bbg_go-1AfdwDmfOL0E_%2BBHFB8y%2B6xLsi6D-8KT3eZEmVA%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="012122.html">
<LINK REL="Next" HREF="012131.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] removal of .la from libxt breaks xpdf build</H1>
<B>Pascal Terjan</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20removal%20of%20.la%20from%20libxt%20breaks%20xpdf%20build&In-Reply-To=%3CCA%2BCX%2Bbg_go-1AfdwDmfOL0E_%2BBHFB8y%2B6xLsi6D-8KT3eZEmVA%40mail.gmail.com%3E"
TITLE="[Mageia-dev] removal of .la from libxt breaks xpdf build">pterjan at gmail.com
</A><BR>
<I>Sun Feb 19 21:46:50 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="012122.html">[Mageia-dev] removal of .la from libxt breaks xpdf build
</A></li>
<LI>Next message: <A HREF="012131.html">[Mageia-dev] removal of .la from libxt breaks xpdf build
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12123">[ date ]</a>
<a href="thread.html#12123">[ thread ]</a>
<a href="subject.html#12123">[ subject ]</a>
<a href="author.html#12123">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Sun, Feb 19, 2012 at 17:23, Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>> wrote:
><i> On Sun, Feb 19, 2012 at 17:08, Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>> wrote:
</I>>><i> On Sun, Feb 19, 2012 at 16:29, Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>> wrote:
</I>>>><i> On Sun, Feb 19, 2012 at 16:23, Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>> wrote:
</I>>>>><i> On Sun, Feb 19, 2012 at 15:55, David Walser <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">luigiwalser at yahoo.com</A>> wrote:
</I>>>>>><i> Funda Wang wrote:
</I>>>>>>><i> ? 2012-2-12 ??12:08?"David Walser" <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">luigiwalser at yahoo.com</A>>???
</I>>>>>>><i>
</I>>>>>>>><i> D Morgan asked us to say if removal of .la files broke anything.  It
</I>>>>>>>><i> breaks xpdf, and I don't know if it's fixable.  xpdf needs libXt.la to
</I>>>>>>>><i> build libxpdf.la, and the xpdf build is heavily dependent on libxpdf.la.
</I>>>>>>>><i>  See xpdf-3.03-shared.diff for example.
</I>>>>>>>><i>
</I>>>>>>><i> The problem is xpdf depends on lesstif, it will bring libXt.la. But lesstif
</I>>>>>>><i> cannot be built now for some reasons.
</I>>>>>><i>
</I>>>>>><i> OK, I see that Funda synced lesstif with Mandriva and fixed the package.  It now builds locally and I believe it is OK.  On the build system,
</I>>>>>><i> it always fails with gcc segfaulting, and it fails at a different place every time.  I have seen this with other packages where eventually it
</I>>>>>><i> will work, and it seems to be a resources issue that causes it.  It appears not enough resources (probably RAM) are allocated to the VM (I'm
</I>>>>>><i> assuming it's a VM) on the build system to build this package.
</I>>>>><i>
</I>>>>><i> It's not a vm and it has either 8GB of ram (ecosse) or 12GB (jonund)
</I>>>>><i> +4GB swap...
</I>>>><i>
</I>>>><i> Looking at the log, this is just a normal internal compiler error from gcc:
</I>>>><i>
</I>>>><i> XmString.c: In function 'XmStringGetNextTriple':
</I>>>><i> XmString.c:5484:9: warning: cast from pointer to integer of different
</I>>>><i> size [-Wpointer-to-int-cast]
</I>>>><i> XmString.c: In function 'XmStringComponentCreate':
</I>>>><i> XmString.c:5520:33: warning: cast from pointer to integer of different
</I>>>><i> size [-Wpointer-to-int-cast]
</I>>>><i> {standard input}: Assembler messages:
</I>>>><i> {standard input}: Warning: end of file not at end of a line; newline inserted
</I>>>><i> {standard input}:1840: Error: number of operands mismatch for `test'
</I>>>><i> {standard input}: Error: open CFI at the end of file; missing
</I>>>><i> .cfi_endproc directive
</I>>>><i> gcc: internal compiler error: Segmentation fault (program cc1)
</I>>>><i> Please submit a full bug report,
</I>>>><i> with preprocessed source if appropriate.
</I>>>><i> See <<A HREF="http://bugs.mageia.org/">http://bugs.mageia.org/</A>> for instructions.
</I>>>><i> make[2]: *** [XmString.lo] Error 1
</I>>>><i>
</I>>>><i> It was reported at least on <A HREF="https://bugs.archlinux.org/task/27357">https://bugs.archlinux.org/task/27357</A> but
</I>>>><i> I din't find upstream (gcc) report. I'll try to have a look.
</I>>><i>
</I>>><i> Crash happens when you build <A HREF="http://fasmz.org/~pterjan/tmp/XmStringE.c">http://fasmz.org/~pterjan/tmp/XmStringE.c</A>
</I>>><i> with -O1 or -O2, I'll test on other arch/versions and report bug
</I>>><i> upstream
</I>><i>
</I>><i> <A HREF="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52310">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52310</A>
</I>
Duplicate of <A HREF="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51077">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51077</A> which
contains a patch for gcc
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="012122.html">[Mageia-dev] removal of .la from libxt breaks xpdf build
</A></li>
<LI>Next message: <A HREF="012131.html">[Mageia-dev] removal of .la from libxt breaks xpdf build
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12123">[ date ]</a>
<a href="thread.html#12123">[ thread ]</a>
<a href="subject.html#12123">[ subject ]</a>
<a href="author.html#12123">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|