Bug#686231: dragonegg-4.6: internal compiler error: Segmentation fault with llvm-gcc
Vincent Lefevre
vincent at vinc17.net
Tue Sep 4 11:16:35 UTC 2012
retitle 686231 dragonegg-4.6 built incorrectly - internal compiler error: Segmentation fault with llvm-gcc / cpp-4.6 4.6.3-9
severity 686231 serious
thanks
Raising severity because llvm-gcc is unusable and its build is
incorrect (was it built in an incorrect environment or is there
any missing build dependency?), meaning that it can yield obscure
problems.
If I rebuild and reinstall dragonegg-4.6 (still version 3.1-2)
locally with:
$ apt-get source dragonegg
$ cd ./dragonegg-3.1
$ dpkg-buildpackage -b -uc
$ su
# dpkg -i llvm-gcc-4.6_3.1-2_amd64.deb dragonegg-4.6_3.1-2_amd64.deb dragonegg_3.1-2_amd64.deb
the problem disappears (I've tested with valgrind too in case there
were still a hidden incorrect memory access, but everything is fine).
If I reinstall the official binaries with:
# apt-get install dragonegg-4.6 dragonegg llvm-gcc-4.6
the problem (segmentation fault) reappears.
If I copy the correct dragonegg.so in a safe place, and use
"gcc-4.6 -fplugin=.../dragonegg.so" after the above apt-get,
the problem doesn't occur:
$ gcc-4.6 -fplugin=/home/vlefevre/software/dragonegg.so -c test.i
$ gcc-4.6 -fplugin=/usr/lib/gcc/x86_64-linux-gnu/4.6/plugin/dragonegg.so -c test.i
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event | Plugins
PLUGIN_FINISH_UNIT | dragonegg
PLUGIN_FINISH | dragonegg
PLUGIN_START_UNIT | dragonegg
PLUGIN_ALL_IPA_PASSES_END | dragonegg
test.i: In function ‘f’:
test.i:4:3: internal compiler error: Segmentation fault
[...]
The dragonegg.so files have the same size, but differ.
In case this is useful:
$ cmp -l /usr/lib/gcc/x86_64-linux-gnu/4.6/plugin/dragonegg.so /home/vlefevre/software/dragonegg.so
417 237 45
418 323 354
419 243 211
420 111 71
421 245 146
422 352 356
423 66 312
424 201 23
425 151 174
426 202 206
427 210 253
428 137 237
429 5 210
430 372 340
431 143 167
432 231 250
433 345 12
434 375 217
435 3 130
436 53 243
28249 30 10
28321 70 50
28417 130 110
28465 170 150
753987 270 300
892711 140 150
893333 60 40
893776 55 35
894410 143 123
8714722 142 150
8714723 165 157
8714724 151 155
8714725 154 145
8714726 144 57
8714727 57 166
8714728 142 154
8714729 165 145
8714730 151 146
8714731 154 145
8714732 144 166
8714733 144 162
8714734 55 145
8714735 144 57
8714736 162 163
8714737 141 157
8714738 147 146
8714739 157 164
8714740 156 167
8714741 145 141
8714742 147 162
8714743 147 145
8714744 137 57
8714745 63 144
8714746 56 162
8714747 61 141
8714748 55 147
8714749 62 157
8714750 55 156
8714751 141 145
8714752 155 147
8714753 144 147
8714754 66 55
8714755 64 63
8714756 55 56
8714757 142 61
8714758 105 57
8714759 127 163
8714760 142 162
8714761 120 143
8714762 112 57
8714763 57 170
8714764 144 70
8714765 162 66
8714766 141 57
8714767 147 101
8714768 157 102
8714769 156 111
8714770 145 110
8714771 147 141
8714772 147 143
8714773 55 153
8714774 63 56
8714775 56 151
8714776 61 156
8714777 57 143
8714778 163 0
8714779 162 0
8714780 143 0
8714781 57 0
8714782 170 0
8714783 70 0
8714784 66 0
8714785 57 124
8714786 101 150
8714787 102 145
8714788 111 40
8714789 110 101
8714790 141 102
8714791 143 111
8714792 153 40
8714793 56 157
8714794 151 146
8714795 156 40
8714796 143 160
8714797 0 141
8714798 0 163
8714799 0 163
8714800 0 151
8714801 124 156
8714802 150 147
8714803 145 40
8714804 40 163
8714805 101 164
8714806 102 162
8714807 111 165
8714808 40 143
8714809 157 164
8714810 146 40
8714811 40 167
8714812 160 151
8714813 141 164
8714814 163 150
8714815 163 40
8714816 151 141
8714817 156 40
8714818 147 146
8714819 40 154
8714820 163 145
8714821 164 170
8714822 162 151
8714823 165 142
8714824 143 154
8714825 164 145
8714827 167 141
8714828 151 162
8714829 164 162
8714830 150 141
8714831 40 171
8714832 141 40
8714833 40 155
8714834 146 145
8714835 154 155
8714836 145 142
8714837 170 145
8714838 151 162
8714839 142 40
8714840 154 150
8714841 145 141
8714842 40 163
8714843 141 40
8714844 162 143
8714845 162 150
8714847 171 156
8714848 40 147
8714849 155 145
8714850 145 144
8714851 155 40
8714852 142 151
8714853 145 156
8714854 162 40
8714855 40 107
8714856 150 103
8714857 141 103
8714858 163 40
8714859 40 64
8714860 143 56
8714861 150 64
8714862 141 0
8714863 156 0
8714864 147 0
8714865 145 124
8714866 144 150
8714867 40 145
8714868 151 40
8714869 156 101
8714870 40 102
8714871 107 111
8714872 103 40
8714873 103 157
8714874 40 146
8714875 64 40
8714876 56 160
8714877 64 141
8714878 0 163
8714879 0 163
8714880 0 151
8714881 124 156
8714882 150 147
8714883 145 40
8714884 40 165
8714885 101 156
8714886 102 151
8714887 111 157
8714888 40 156
8714889 157 40
8714890 146 167
8714891 40 151
8714892 160 164
8714893 141 150
8714894 163 40
8714895 163 154
8714896 151 157
8714900 165 144
8714901 156 157
8714902 151 165
8714903 157 142
8714904 156 154
8714905 40 145
8714906 167 40
8714907 151 150
8714908 164 141
8714909 150 163
8714911 154 143
8714912 157 150
8714913 156 141
8714914 147 156
8714915 40 147
8714916 144 145
8714917 157 144
8714918 165 40
8714919 142 151
8714920 154 156
8714921 145 40
8714922 40 107
8714923 150 103
8714924 141 103
8714925 163 40
8714926 40 64
8714927 143 56
8714928 150 64
8714929 141 0
8714930 156 0
8714931 147 0
8714932 145 0
8714933 144 0
8714934 40 0
8714935 151 0
8714936 156 0
8714937 40 124
8714938 107 150
8714939 103 145
8714940 103 40
8714941 40 101
8714942 64 102
8714943 56 111
8714944 64 40
8714945 0 157
8714946 0 146
8714947 0 40
8714948 0 160
8714949 0 141
8714950 0 163
8714951 0 163
8714952 0 151
8714953 124 156
8714954 150 147
8714955 145 40
8714956 40 163
8714957 101 164
8714958 102 162
8714959 111 165
8714960 40 143
8714961 157 164
8714962 146 165
8714963 40 162
8714964 160 145
8714965 141 40
8714966 163 167
8714967 163 151
8714968 151 164
8714969 156 150
8714970 147 40
8714971 40 143
8714972 163 157
8714973 164 155
8714974 162 160
8714975 165 154
8714976 143 145
8714977 164 170
8714978 165 40
8714979 162 146
8714980 145 154
8714981 40 157
8714982 167 141
8714983 151 164
8714984 164 40
8714985 150 155
8714986 40 145
8714987 143 155
8714988 157 142
8714989 155 145
8714990 160 162
8714991 154 40
8714992 145 150
8714993 170 141
8714994 40 163
8714995 146 40
8714996 154 143
8714997 157 150
8714999 164 156
8715000 40 147
8715001 155 145
8715002 145 144
8715003 155 40
8715004 142 151
8715005 145 156
8715006 162 40
8715007 40 107
8715008 150 103
8715009 141 103
8715010 163 40
8715011 40 64
8715012 143 56
8715013 150 64
8715014 141 0
8715015 156 0
8715016 147 0
8715017 145 137
8715018 144 137
8715019 40 142
8715020 151 165
8715021 156 151
8715022 40 154
8715023 107 164
8715024 103 151
8715025 103 156
8715026 40 137
8715027 64 151
8715028 56 141
8715029 64 63
8715030 0 62
8715031 0 137
8715032 0 166
8715033 137 145
8715034 137 143
8715035 142 137
8715036 165 160
8715037 151 145
8715038 154 162
8715039 164 155
8715040 151 137
8715041 156 166
8715042 137 61
8715043 151 66
8715044 141 161
8715045 63 151
8715046 62 137
8715047 137 165
8715048 166 0
8715049 145 137
8715050 143 137
8715051 137 142
8715052 160 165
8715053 145 151
8715054 162 154
8715055 155 164
8715056 137 151
8715057 166 156
8715058 61 137
8715059 66 151
8715060 161 141
8715061 151 63
8715062 137 62
8715063 165 137
8715064 0 166
8715065 137 145
8715066 137 143
8715067 142 137
8715068 165 160
8715069 151 145
8715070 154 162
8715071 164 155
8715072 151 137
8715073 156 166
8715074 137 62
8715075 151 144
8715076 141 151
8715077 63 137
8715078 62 165
8715079 137 0
8715080 166 0
8715081 145 137
8715082 143 137
8715083 137 142
8715084 160 165
8715085 145 151
8715086 162 154
8715087 155 164
8715088 137 151
8715089 166 156
8715090 62 137
8715091 144 151
8715092 151 141
8715093 137 63
8715094 165 62
8715095 0 137
8715096 0 166
8715097 137 145
8715098 137 143
8715099 142 137
8715100 165 160
8715101 151 145
8715102 154 162
8715103 164 155
8715104 151 137
8715105 156 166
8715106 137 64
8715107 151 163
8715108 141 151
8715109 63 137
8715110 62 165
8715111 137 0
8715112 166 0
8715113 145 137
8715114 143 137
8715115 137 142
8715116 160 165
8715117 145 151
8715118 162 154
8715119 155 164
8715120 137 151
8715121 166 156
8715122 64 137
8715123 163 151
8715124 151 141
8715125 137 63
8715126 165 62
8715127 0 137
8715128 0 166
8715129 137 145
8715130 137 143
8715131 142 137
8715132 165 160
8715133 151 145
8715134 154 162
8715135 164 155
8715136 151 137
8715137 156 166
8715138 137 70
8715139 151 150
8715140 141 151
8715141 63 137
8715142 62 165
8715143 137 0
8715144 166 0
8715145 145 0
8715146 143 0
8715147 137 0
8715148 160 0
8715149 145 0
8715150 162 0
8715151 155 0
8715152 137 0
8715153 166 0
8715154 70 0
8715155 150 0
8715156 151 0
8715157 137 0
8715158 165 0
10243697 30 10
10243745 70 50
10243809 130 110
10243841 170 150
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Pkg-llvm-team
mailing list