1 |
Andreas K. Huettel wrote: |
2 |
> |
3 |
> Hi Alan, |
4 |
> |
5 |
> > 1. My machine is not correctly configured to build 32 bit executables, |
6 |
> > mainly because I cannot find a 32 bit version of ncurses that ld is |
7 |
> > willing to acknowledge the existence of. |
8 |
> |
9 |
> This seems to be working for just about everyone else. So maybe |
10 |
> providing some technical info for your system would be helpful? |
11 |
> |
12 |
> I mean, standard stuff like "emerge --info" output or the versions of |
13 |
> ncurses, binutils and gcc that are installed (including useflags)? |
14 |
/etc/portage # emerge --info |
15 |
[[: error while loading shared libraries: libtinfo.so.5: cannot open |
16 |
shared object file: No such file or directory |
17 |
Failed to validate a sane '/dev'. |
18 |
bash process substitution doesn't work; this may be an indication of a |
19 |
broken '/dev/fd'. |
20 |
/etc/portage # |
21 |
|
22 |
(I have not yet attempted to write new stage3 into my install yet, |
23 |
waiting for someone to come along who can draw me a map back to a fully |
24 |
usable system.) |
25 |
|
26 |
|
27 |
/etc/portage # gcc --version |
28 |
gcc (Gentoo 4.9.2 p1.3, pie-0.6.2) 4.9.2 |
29 |
Copyright (C) 2014 Free Software Foundation, Inc. |
30 |
This is free software; see the source for copying conditions. There is NO |
31 |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
32 |
|
33 |
/etc/portage # |
34 |
|
35 |
|
36 |
/etc/portage # ld --version |
37 |
GNU ld (Gentoo 2.25 p1.0) 2.25 |
38 |
Copyright (C) 2014 Free Software Foundation, Inc. |
39 |
This program is free software; you may redistribute it under the terms of |
40 |
the GNU General Public License version 3 or (at your option) a later |
41 |
version. |
42 |
This program has absolutely no warranty. |
43 |
/etc/portage # |
44 |
|
45 |
|
46 |
> |
47 |
> > 2. LD cannot find ncurses, -- It simply can't, in 64 bit mode either. |
48 |
> > That is the only error message it ever gives and vast amount of effort |
49 |
> > spent in sessions over the last year and a half have failed to find any |
50 |
> > solution. I only installed Gentoo on this machine four and a half years |
51 |
> > ago so it's hard to imagine what could have gotten this royally foobar |
52 |
> > in such a short period. |
53 |
> |
54 |
> If you kept your system updated all the time, you shouldnt have any |
55 |
> problems. |
56 |
|
57 |
Byte me. |
58 |
|
59 |
Linux is crap, it takes all the talent I have to keep this piece of junk |
60 |
running. =( I'm the user here, I am not going to take any lip from you |
61 |
about how I run my system. =| I put a great deal more work into |
62 |
maintaining my system than most of the rest of you. |
63 |
|
64 |
|
65 |
> > The ncurses problem has been a low-level |
66 |
> > issue for a long time but, with tinfo set, 99% of packages worked. |
67 |
> |
68 |
> Define low-level issue. What was broken all the time that you ignored? |
69 |
|
70 |
Busybox, valgrind, a number of other minor packages. |
71 |
|
72 |
> > 2. It sent out a profile that sets variable ABI_x86 with 32 bit enabled. |
73 |
> > ALARM: ABI_x86 should be set in exactly one place: |
74 |
> > /etc/portage/make.conf and nowhere else. But, nevertheless, ABI_x86 WAS |
75 |
> > set which broke the profile because my system cannot compile 32 bit |
76 |
> > executables. =( I tried the no-multilib profile but it didn't have a |
77 |
> > number of essential useflags and was foobar. |
78 |
> |
79 |
> You're still not providing the slightest bit of useful information. |
80 |
> |
81 |
> What happens if you try to generate a 32bit executable? |
82 |
|
83 |
Fails completely due to linking errors even though it should always be |
84 |
possible to compile something without its binary dependencies (with only |
85 |
the headers) because symbol resolution should take place at load time. =| |
86 |
|
87 |
> What gcc are you using, with what settings? |
88 |
|
89 |
By all appearances, Emerge identifies the most broken version of |
90 |
everything it can find and uses that without providing any user feedback. |
91 |
|
92 |
Here's my make.conf, some lines might be changed because I have been |
93 |
struggling to find a working configuration. |
94 |
|
95 |
|
96 |
|
97 |
/etc/portage # cat /etc/portage/make.conf |
98 |
# These settings were set by the catalyst build script that automatically |
99 |
# built this stage. |
100 |
# Please consult /usr/share/portage/config/make.conf.example for a more |
101 |
# detailed example. |
102 |
CFLAGS="-O3 -march=native -pipe " |
103 |
CXXFLAGS="${CFLAGS}" |
104 |
|
105 |
LDFLAGS="-lncurses " |
106 |
|
107 |
MAKEOPTS="-j 6" |
108 |
|
109 |
# WARNING: Changing your CHOST is not something that should be done lightly. |
110 |
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before |
111 |
changing. |
112 |
CHOST="x86_64-pc-linux-gnu" |
113 |
|
114 |
INPUT_DEVICES="keyboard mouse" |
115 |
|
116 |
LINGUAS="en en_US" |
117 |
ACCEPT_KEYWORDS="amd64 ~amd64" |
118 |
ACCEPT_LICENSE="*" |
119 |
|
120 |
# These are the USE flags that were used in addition to what is provided |
121 |
by the |
122 |
# profile used for building. |
123 |
USE="3dnow 3dnowext amr apache2 ares audiofile autoipd avahi bittorrent |
124 |
blender-game bmp boost c++0x caps cdio cg cgi clang cpudetection |
125 |
css curl |
126 |
custom-cflags custom-tune debugger declarative device-mapper dga |
127 |
discouraged dolbyinrec double-precision drm evdev expat extras fbcon |
128 |
ffcall ffmpeg fftw firmware fluidsynth fontconfig foomaticdb freeimage |
129 |
ftp g3dvl gbm gflags gfortran ggz gl glade glut gmp gnome gphoto2 |
130 |
graphviz gsl gstreamer gtk3 heterogeneous high-ints hpijs hwdb icu ide |
131 |
imlib ithreads jadetex java jit joystick jpeg2k kde kdrive lame lapack |
132 |
libffi libkms libwww llvm-shared-libs lm_sensors lua lzo matroska |
133 |
mdnsresponder-compat metis midi minizip mmap mms mmxext mozilla mp3rtp |
134 |
mpeg2 multicore multilib multislot mysql nas natspec netpbm nowin |
135 |
nsplugin ode ogre ois okteta openal opencl openexr openssl opus orc pae |
136 |
parport pch pcre16 perl pgo plasma posix postproc povray |
137 |
private-headers |
138 |
pulseaudio python python3 qml qthelp quicktime r600-llvm-compiler |
139 |
reiserfs script sdk seamonkey secure-delete semantic-desktop server |
140 |
sftp |
141 |
sip smp soprano sql sqlite sse2 sse3 sse4 static-ppds subversion |
142 |
system-boost system-cairo system-icu system-jpeg system-libvpx |
143 |
system-sqlite t1lib theora threads threadsafe threadsonly tk |
144 |
unlock-notify upnp upnp-av userlocales utempter uuid uvm uxa v4l vcd |
145 |
video videos vnc webkit xine xmp xvfb xvmc yuv4mpeg zeroconf -bluetooth |
146 |
-bundled-libs -dso -examples -libav -odbc -samba -vlc tinfo" |
147 |
|
148 |
CPU_FLAGS_X86="mmx mmxext sse2_4way 3dnow 3dnowext sse sse2 sse3 sse4" |
149 |
|
150 |
RUBY_TARGETS="ruby20 ruby21 ruby22 ruby24" |
151 |
|
152 |
GRUB_PLATFORMS="pc efi-64" |
153 |
|
154 |
EMERGE_DEFAULT_OPTS="--jobs=1 --quiet-build=n --verbose" |
155 |
|
156 |
FEATURES="sandbox distlocks nostrip parallel-fetch userfetch userpriv |
157 |
usersandbox splitdebug -preserve-libs" |
158 |
|
159 |
PORTAGE_RSYNC_EXTRA_OPTS="--progress" |
160 |
|
161 |
VIDEO_CARDS="nvidia radeonsi radeon" |
162 |
|
163 |
source /var/lib/layman/make.conf |
164 |
|
165 |
PYTHON_TARGETS="${PYTHON_TARGETS} python2_7 python3_4" |
166 |
PYTHON_SINGLE_TARGET="python2_7" |
167 |
|
168 |
ABI_X86="64 32" |
169 |
|
170 |
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/" |
171 |
|
172 |
/etc/portage # |
173 |
|
174 |
|
175 |
Hmm, I don't remember when that ldflags got set, must have been a long |
176 |
time ago. =\ |
177 |
|
178 |
|
179 |
|
180 |
-- |
181 |
IQ is a measure of how stupid you feel. |
182 |
|
183 |
Powers are not rights. |