1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
I need some help with an ebuild I'm putting together for prc-tools, a gcc 2.95 |
5 |
tool chain for PalmOS devices. It used to compile fine, now it gives the link |
6 |
errors below. I have the following things emerged: |
7 |
|
8 |
gcc-3.2-r2 |
9 |
glibc-2.3.1 |
10 |
glibc-2.2.5 compiled with gcc 2.95 (this was built using Spider's instructions |
11 |
for emerging gcc 3.2 without breaking existing code). |
12 |
|
13 |
To be honest, I do not know whether I ever compiled this with gcc 3.2 or |
14 |
whether this has happened only since I emerged glibc-2.3.1. I know this is |
15 |
the first time I've tried with glibc-2.3.1. I think possibly the conflict is |
16 |
due to the tool chain being based on gcc 2.95 but my compiler is gcc 3.2, so |
17 |
some things are compiled with gcc 3.2 and some with 2.95. I have tried a |
18 |
clean compile several times. Before this I also recompiled all packages |
19 |
containing static libs due to the known problems with glibc-2.3.1. |
20 |
|
21 |
If it is possible, can I emerge gcc 2.95 alongside gcc 3.2 and try compiling |
22 |
with 2.95? I would still want gcc 3.2 as my default compiler. |
23 |
|
24 |
Any help is appreciated, thanks. |
25 |
|
26 |
c++ -L. -L../bfd -L../libiberty |
27 |
- -L/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs -o |
28 |
build-prc build-prc.o binres.o utils.o def.yy.o def.tab.o -lbfd -liberty |
29 |
- -lpfd |
30 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcE13classic_tableEv+0x3f): |
31 |
In function `std::ctype<char>::classic_table()': |
32 |
/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:477: |
33 |
undefined reference to `__ctype_b' |
34 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC2EPiPKtbj+0x7a): |
35 |
In function `std::ctype<char>::ctype[not-in-charge](int*, unsigned short |
36 |
const*, bool, unsigned)': |
37 |
/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:480: |
38 |
undefined reference to `__ctype_toupper' |
39 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC2EPiPKtbj+0x84):/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:368: |
40 |
undefined reference to `__ctype_tolower' |
41 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC2EPiPKtbj+0xba):/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:469: |
42 |
undefined reference to `__ctype_b' |
43 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC1EPiPKtbj+0x7a): |
44 |
In function `std::ctype<char>::ctype[in-charge](int*, unsigned short const*, |
45 |
bool, unsigned)': |
46 |
/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:480: |
47 |
undefined reference to `__ctype_toupper' |
48 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC1EPiPKtbj+0x84):/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:368: |
49 |
undefined reference to `__ctype_tolower' |
50 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC1EPiPKtbj+0xba):/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:469: |
51 |
undefined reference to `__ctype_b' |
52 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC2EPKtbj+0x7a): |
53 |
In function `std::ctype<char>::ctype[not-in-charge](unsigned short const*, |
54 |
bool, unsigned)': |
55 |
/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:480: |
56 |
undefined reference to `__ctype_toupper' |
57 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC2EPKtbj+0x84):/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:368: |
58 |
undefined reference to `__ctype_tolower' |
59 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC2EPKtbj+0xba):/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:469: |
60 |
undefined reference to `__ctype_b' |
61 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC1EPKtbj+0x7a): |
62 |
In function `std::ctype<char>::ctype[in-charge](unsigned short const*, bool, |
63 |
unsigned)': |
64 |
/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:480: |
65 |
undefined reference to `__ctype_toupper' |
66 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC1EPKtbj+0x84):/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:368: |
67 |
undefined reference to `__ctype_tolower' |
68 |
/var/tmp/portage/prc-tools-2.2/work/prc-tools-2.2/build/static-libs/libstdc++.a(locale.o)(.text._ZNSt5ctypeIcEC1EPKtbj+0xba):/var/tmp/portage/gcc-3.2-r2/work/gcc-3.2/libstdc++-v3/src/locale.cc:469: |
69 |
undefined reference to `__ctype_b' |
70 |
collect2: ld returned 1 exit status |
71 |
make[1]: *** [build-prc] Error 1 |
72 |
|
73 |
|
74 |
|
75 |
- -- |
76 |
Pat Double, double@×××××××××.com |
77 |
"In the beginning God created the heaven and the earth." |
78 |
-----BEGIN PGP SIGNATURE----- |
79 |
Version: GnuPG v1.0.7 (GNU/Linux) |
80 |
|
81 |
iD8DBQE9ugIXdOmLNuoWoKgRAhQwAKCDYcRYPTrWvlzSyWjr2JVOfqyIQQCfR1uq |
82 |
Xx7wf50dBMw3DElbO4Xvvhc= |
83 |
=M3WG |
84 |
-----END PGP SIGNATURE----- |