ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка
@ 2009-01-12 15:42 kde
  2009-01-12 15:47 ` Led
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: kde @ 2009-01-12 15:42 UTC (permalink / raw)
  To: devel, sisyphus

Добрый день!
Может и от этой проблемы есть у кого рецепт?

Сегодня напоролся:
$ make
g++ -m32 -O2 -g -mtune=generic -o npviewer-cxxabi-compat.o -c
/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp -I.
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1 -m32 -O2 -g
-mtune=generic
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/lsb-build/headers
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/lsb-build/headers/glib-2.0
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/lsb-build/headers/gtk-2.0
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/npapi
-I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/npapi/nspr -DBUILD_VIEWER
In file included from
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:44,
from /home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp:36:
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/cstddef:47:28:
error: bits/c++config.h: Нет такого файла или каталога
In file included from /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:44,
from /home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp:36:
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/cstddef:53:
error: expected constructor,destructor, or type conversion before
‘(’ token In file included from /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:45,
from /home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp:36:
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/exception:40:
error: ‘#pragma’ is
not allowed here
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/exception:133:
error: expected
declaration before
end of line
make: ***
[npviewer-cxxabi-compat.o]
Ошибка 1

[kde@home nspluginwrapper-1.2.2_p1]$  rpm -qa | grep libstdc++
i586-libstdc++4.3-devel-4.3.2-alt7
libstdc++4.3-4.3.2-alt7
libstdc++4.3-devel-4.3.2-alt7
i586-libstdc++4.3-4.3.2-alt7
libstdc++3.3-3.3.4-alt4

Т.е. Из компилятор не видит
/usr/include/c++/4.3.2/x86_64-alt-linux/bits/c++config.h не смотря на
то-что файл есть. При этом код:
#include <bits/c++config.h>
#include <new>
int main()
{
}
Компилиться без лишних вопросов.

ЗЫ: Все пакеты установлены из 5.0/branch.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка
  2009-01-12 15:42 [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка kde
@ 2009-01-12 15:47 ` Led
  2009-01-12 15:52 ` Mikhail Gusarov
  2009-01-12 15:53 ` Damir Shayhutdinov
  2 siblings, 0 replies; 15+ messages in thread
From: Led @ 2009-01-12 15:47 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Monday 12 January 2009 17:42:59 kde@kde.kiev.ua wrote:
> Добрый день!
> Может и от этой проблемы есть у кого рецепт?
>
> Сегодня напоролся:
> $ make
> g++ -m32 -O2 -g -mtune=generic -o npviewer-cxxabi-compat.o -c
> /home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp -I.
> -I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1 -m32 -O2 -g
> -mtune=generic
> -I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/lsb-build/headers
> -I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/lsb-build/headers/glib-2.0
> -I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/lsb-build/headers/gtk-2.0
> -I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/npapi
> -I/home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/npapi/nspr -DBUILD_VIEWER
> In file included from
> /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:44,
> from /home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp:36:
> /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/cstddef
>:47:28: error: bits/c++config.h: Нет такого файла или каталога
> In file included from
> /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:44,
> from /home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp:36:
> /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/cstddef
>:53: error: expected constructor,destructor, or type conversion before
> ‘(’ token In file included from
> /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:45,
> from /home/kde/RPM/BUILD/nspluginwrapper-1.2.2_p1/src/cxxabi-compat.cpp:36:
> /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/excepti
>on:40: error: ‘#pragma’ is
> not allowed here
> /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/excepti
>on:133: error: expected
> declaration before
> end of line
> make: ***
> [npviewer-cxxabi-compat.o]
> Ошибка 1
>
> [kde@home nspluginwrapper-1.2.2_p1]$  rpm -qa | grep libstdc++
> i586-libstdc++4.3-devel-4.3.2-alt7
> libstdc++4.3-4.3.2-alt7
> libstdc++4.3-devel-4.3.2-alt7
> i586-libstdc++4.3-4.3.2-alt7
> libstdc++3.3-3.3.4-alt4
>
> Т.е. Из компилятор не видит
> /usr/include/c++/4.3.2/x86_64-alt-linux/bits/c++config.h не смотря на

С чего вы взяли, что "не 
видит" /usr/include/c++/4.3.2/x86_64-alt-linux/bits/c++config.h ?
Он "не видит" /usr/include/c++/4.3.2/i586-alt-linux/bits/c++config.h

И зачем вам nspluginwrapper?

> то-что файл есть. При этом код:
> #include <bits/c++config.h>
> #include <new>
> int main()
> {
> }
> Компилиться без лишних вопросов.
>
> ЗЫ: Все пакеты установлены из 5.0/branch.

-- 
Led


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка
  2009-01-12 15:42 [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка kde
  2009-01-12 15:47 ` Led
@ 2009-01-12 15:52 ` Mikhail Gusarov
  2009-01-12 17:15   ` Denis Kuznetsov
  2009-01-12 15:53 ` Damir Shayhutdinov
  2 siblings, 1 reply; 15+ messages in thread
From: Mikhail Gusarov @ 2009-01-12 15:52 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]


Twas brillig at 17:42:59 12.01.2009 UTC+02 when kde@kde.kiev.ua did gyre and gimble:

 k> #include <bits/c++config.h>
 k> #include <new>
 k> int main()
 k> {
 k> }
 k> Компилиться без лишних вопросов.

g++ -m32 -- вот прям такой командой и компилируется? Как-то не верится.

-- 

[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка
  2009-01-12 15:42 [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка kde
  2009-01-12 15:47 ` Led
  2009-01-12 15:52 ` Mikhail Gusarov
@ 2009-01-12 15:53 ` Damir Shayhutdinov
  2009-01-12 17:19   ` Denis Kuznetsov
  2009-01-13 10:57   ` kde
  2 siblings, 2 replies; 15+ messages in thread
From: Damir Shayhutdinov @ 2009-01-12 15:53 UTC (permalink / raw)
  To: ALT Linux Team development discussions

> Сегодня напоролся:
> $ make
> g++ -m32 -O2 -g -mtune=generic -o npviewer-cxxabi-compat.o -c
Все дело в -m32.
Не смотря на то, что этот режим компиляции формально у нас поддерживается,
ему нужно кроме самих 32битных библиотек (i586-*), еще и devel-файлы к ним.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка
  2009-01-12 15:52 ` Mikhail Gusarov
@ 2009-01-12 17:15   ` Denis Kuznetsov
  0 siblings, 0 replies; 15+ messages in thread
From: Denis Kuznetsov @ 2009-01-12 17:15 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Monday 12 January 2009 17:52:22 Mikhail Gusarov wrote:
> Twas brillig at 17:42:59 12.01.2009 UTC+02 when kde@kde.kiev.ua did gyre
> and gimble:
>
>  k> #include <bits/c++config.h>
>  k> #include <new>
>  k> int main()
>  k> {
>  k> }
>  k> Компилиться без лишних вопросов.
>
> g++ -m32 -- вот прям такой командой и компилируется? Как-то не верится.

действительно -m32 упуститл ... :(
 g++ -m32 test.cpp
test.cpp:1:28: error: bits/c++config.h: Нет такого файла или каталога
In file included 
from /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:44,
                 from test.cpp:2:
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/cstddef:53: 
error: expected constructor, destructor, or type conversion before ‘(’ token
In file included 
from /usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:45,
                 from test.cpp:2:
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/exception:40: 
error: ‘#pragma’ is not allowed here
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/exception:133: 
error: expected declaration before end of line

-- 
Denis Kuznetsov
	mailto: kde@kde.kiev.ua
	jabber: denis.e.kuznetsov@gmail.com

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка
  2009-01-12 15:53 ` Damir Shayhutdinov
@ 2009-01-12 17:19   ` Denis Kuznetsov
  2009-01-12 17:21     ` Mikhail Gusarov
  2009-01-13 10:57   ` kde
  1 sibling, 1 reply; 15+ messages in thread
From: Denis Kuznetsov @ 2009-01-12 17:19 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Monday 12 January 2009 17:53:11 Damir Shayhutdinov wrote:
> > Сегодня напоролся:
> > $ make
> > g++ -m32 -O2 -g -mtune=generic -o npviewer-cxxabi-compat.o -c
>
> Все дело в -m32.
> Не смотря на то, что этот режим компиляции формально у нас поддерживается,
> ему нужно кроме самих 32битных библиотек (i586-*), еще и devel-файлы к ним.
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel

Дык вроде как и есть:
$ rpm -qa | grep ^i586-
i586-libstdc++4.3-devel-4.3.2-alt7
i586-glibc-devel-2.9-alt2
i586-libgcc4.3-4.3.2-alt7
i586-libstdc++4.3-4.3.2-alt7
i586-glibc-core-2.9-alt2

Все файлы брал из 5.0/branch/

Чего ему еще нужно ?
 я так понимаю пока не собереться
 cat <<EOF test.cpp
#include <bits/c++config.h>
#include <new>
int main()
{
}
EOF
командой g++ -m32 test.cpp толку не будет.. 

-- 
Denis Kuznetsov
	mailto: kde@kde.kiev.ua
	jabber: denis.e.kuznetsov@gmail.com

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка
  2009-01-12 17:19   ` Denis Kuznetsov
@ 2009-01-12 17:21     ` Mikhail Gusarov
  2009-01-12 21:05       ` Denis Kuznetsov
  0 siblings, 1 reply; 15+ messages in thread
From: Mikhail Gusarov @ 2009-01-12 17:21 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]


Twas brillig at 19:19:50 12.01.2009 UTC+02 when kde@kde.kiev.ua did gyre and gimble:

 DK> Дык вроде как и есть:

Нет i586-libstdc++4.3-devel

-- 

[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка
  2009-01-12 17:21     ` Mikhail Gusarov
@ 2009-01-12 21:05       ` Denis Kuznetsov
  0 siblings, 0 replies; 15+ messages in thread
From: Denis Kuznetsov @ 2009-01-12 21:05 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Monday 12 January 2009 19:21:28 Mikhail Gusarov wrote:
> Twas brillig at 19:19:50 12.01.2009 UTC+02 when kde@kde.kiev.ua did gyre
> and gimble:
>
>  DK> Дык вроде как и есть:
>
> Нет i586-libstdc++4.3-devel
Есть, потому вопрос и возник:

$ rpm -ql  i586-libstdc++4.3-devel
/usr/include/c++/4.3.2/i586-alt-linux
/usr/include/c++/4.3.2/i586-alt-linux/bits
/usr/include/c++/4.3.2/i586-alt-linux/bits/atomic_word.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/basic_file.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/c++allocator.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/c++config.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/c++io.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/c++locale.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/cpu_defines.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/ctype_base.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/ctype_inline.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/ctype_noninline.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/cxxabi_tweaks.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/extc++.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/gthr-default.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/gthr-posix.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/gthr-single.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/gthr-tpf.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/gthr.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/messages_members.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/os_defines.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/stdc++.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/stdtr1c++.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/time_members.h
/usr/lib/gcc/i586-alt-linux/4.3.2
/usr/lib/gcc/i586-alt-linux/4.3.2/libstdc++.so
/usr/lib/gcc/i586-alt-linux/4.3.2/libsupc++.a


-- 
Denis Kuznetsov
	mailto: kde@kde.kiev.ua
	jabber: denis.e.kuznetsov@gmail.com


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка
  2009-01-12 15:53 ` Damir Shayhutdinov
  2009-01-12 17:19   ` Denis Kuznetsov
@ 2009-01-13 10:57   ` kde
  2009-02-03 16:24     ` [devel] g++ -m32: missing header files Dmitry V. Levin
  1 sibling, 1 reply; 15+ messages in thread
From: kde @ 2009-01-13 10:57 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Используя arepo дособрал еще i586-gcc4.3-c++-4.3.2-alt7 к тому что есть
в системе... ( код то плюсатый...)  дальше еще интереснее:
[kde@home tmp]$ cat <<EOF >test.cpp
#include <bits/c++config.h>
#include <new>
int main()
{
}
EOF

kde@home tmp]$ x86_64-alt-linux-g++-4.3 -m32 -Wa,--32 test.cpp
test.cpp:1:28: error: bits/c++config.h: Нет такого файла или каталога
In file included from
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:44,
from test.cpp:2:/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/cstddef:53:
error: expected constructor, destructor, or type conversion before ‘(’ token
In file included from
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/new:45,
from test.cpp:2
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/exception:40:
error: ‘#pragma’ is not allowed here
/usr/lib64/gcc/x86_64-alt-linux/4.3.2/../../../../include/c++/4.3.2/exception:133:
error: expected declaration before end of line
[kde@home tmp]$ i586-alt-linux-g++-4.3 -m32 -Wa,--32 test.cpp
[kde@home tmp]$ file a.out
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

т.е. 32-х бинтый компилер, все прекрасно видит (правда -Wa,--32 для as
нужна)....
неужели поддержка -m32 у нас настолько формальна что при -m32 компилятор
не имеет привычки набльдать наличие хидеров ??? 

ЗЫ: есть идеи??? 


On Mon, Jan 12, 2009 at 06:53:11PM +0300, Damir Shayhutdinov wrote:
> > Сегодня напоролся:
> > $ make
> > g++ -m32 -O2 -g -mtune=generic -o npviewer-cxxabi-compat.o -c
> Все дело в -m32.
> Не смотря на то, что этот режим компиляции формально у нас поддерживается,
> ему нужно кроме самих 32битных библиотек (i586-*), еще и devel-файлы к ним.
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] g++ -m32: missing header files
  2009-01-13 10:57   ` kde
@ 2009-02-03 16:24     ` Dmitry V. Levin
  2009-02-04 20:55       ` Denis Kuznetsov
  2009-02-05 22:36       ` [devel] i586-libstdc++4.3-devel: missing symlink Dmitry V. Levin
  0 siblings, 2 replies; 15+ messages in thread
From: Dmitry V. Levin @ 2009-02-03 16:24 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

On Tue, Jan 13, 2009 at 12:57:26PM +0200, kde@kde.kiev.ua wrote:
> Используя arepo дособрал еще i586-gcc4.3-c++-4.3.2-alt7 к тому что есть
> в системе... ( код то плюсатый...)  дальше еще интереснее:
[...]
> нужна)....
> неужели поддержка -m32 у нас настолько формальна что при -m32 компилятор
> не имеет привычки набльдать наличие хидеров ??? 
> 
> ЗЫ: есть идеи??? 

$ cat >t.cc <<EOF
#include <bits/c++config.h>
EOF
$ g++ -c t.cc 
$ g++ -m32 -c t.cc 
t.cc:1:28: error: bits/c++config.h: No such file or directory
$ find /usr/include/ -name c++config.h
/usr/include/c++/4.3.2/i586-alt-linux/bits/c++config.h
/usr/include/c++/4.3.2/x86_64-alt-linux/bits/c++config.h

Что-то в g++ по сравнению с обычным gcc не добиарчено.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] g++ -m32: missing header files
  2009-02-03 16:24     ` [devel] g++ -m32: missing header files Dmitry V. Levin
@ 2009-02-04 20:55       ` Denis Kuznetsov
  2009-02-05 22:36       ` [devel] i586-libstdc++4.3-devel: missing symlink Dmitry V. Levin
  1 sibling, 0 replies; 15+ messages in thread
From: Denis Kuznetsov @ 2009-02-04 20:55 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Tuesday 03 February 2009 18:24:20 Dmitry V. Levin wrote:
> On Tue, Jan 13, 2009 at 12:57:26PM +0200, kde@kde.kiev.ua wrote:
> > Используя arepo дособрал еще i586-gcc4.3-c++-4.3.2-alt7 к тому что есть
> > в системе... ( код то плюсатый...)  дальше еще интереснее:
>
> [...]
>
> > нужна)....
> > неужели поддержка -m32 у нас настолько формальна что при -m32 компилятор
> > не имеет привычки набльдать наличие хидеров ???
> >
> > ЗЫ: есть идеи???
>
> $ cat >t.cc <<EOF
> #include <bits/c++config.h>
> EOF
> $ g++ -c t.cc
> $ g++ -m32 -c t.cc
> t.cc:1:28: error: bits/c++config.h: No such file or directory
> $ find /usr/include/ -name c++config.h
> /usr/include/c++/4.3.2/i586-alt-linux/bits/c++config.h
> /usr/include/c++/4.3.2/x86_64-alt-linux/bits/c++config.h
>
> Что-то в g++ по сравнению с обычным gcc не добиарчено.

Кстати если  добавить -I /usr/include/c++/4.3.2/i586-alt-linux то компилится 
без ругани. (Совсем на днях попробовал) 

-- 
Denis Kuznetsov
	mailto: kde@kde.kiev.ua
	jabber: denis.e.kuznetsov@gmail.com

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] i586-libstdc++4.3-devel: missing symlink
  2009-02-03 16:24     ` [devel] g++ -m32: missing header files Dmitry V. Levin
  2009-02-04 20:55       ` Denis Kuznetsov
@ 2009-02-05 22:36       ` Dmitry V. Levin
  2009-02-06  7:24         ` Denis Kuznetsov
  1 sibling, 1 reply; 15+ messages in thread
From: Dmitry V. Levin @ 2009-02-05 22:36 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

On Tue, Feb 03, 2009 at 07:24:20PM +0300, Dmitry V. Levin wrote:
> On Tue, Jan 13, 2009 at 12:57:26PM +0200, kde@kde.kiev.ua wrote:
> > Используя arepo дособрал еще i586-gcc4.3-c++-4.3.2-alt7 к тому что есть
> > в системе... ( код то плюсатый...)  дальше еще интереснее:
> [...]
> > нужна)....
> > неужели поддержка -m32 у нас настолько формальна что при -m32 компилятор
> > не имеет привычки набльдать наличие хидеров ??? 
> > 
> > ЗЫ: есть идеи??? 
> 
> $ cat >t.cc <<EOF
> #include <bits/c++config.h>
> EOF
> $ g++ -c t.cc 
> $ g++ -m32 -c t.cc 
> t.cc:1:28: error: bits/c++config.h: No such file or directory
> $ find /usr/include/ -name c++config.h
> /usr/include/c++/4.3.2/i586-alt-linux/bits/c++config.h
> /usr/include/c++/4.3.2/x86_64-alt-linux/bits/c++config.h
> 
> Что-то в g++ по сравнению с обычным gcc не добиарчено.

В пакете i586-libstdc++4.3-devel не хватало одной ссылки.
Добавили, теперь g++ -m32 работает.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] i586-libstdc++4.3-devel: missing symlink
  2009-02-05 22:36       ` [devel] i586-libstdc++4.3-devel: missing symlink Dmitry V. Levin
@ 2009-02-06  7:24         ` Denis Kuznetsov
  2009-02-06 10:48           ` Dmitry V. Levin
  0 siblings, 1 reply; 15+ messages in thread
From: Denis Kuznetsov @ 2009-02-06  7:24 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Friday 06 February 2009 00:36:39 Dmitry V. Levin wrote:
> On Tue, Feb 03, 2009 at 07:24:20PM +0300, Dmitry V. Levin wrote:
> > On Tue, Jan 13, 2009 at 12:57:26PM +0200, kde@kde.kiev.ua wrote:
> > > Используя arepo дособрал еще i586-gcc4.3-c++-4.3.2-alt7 к тому что есть
> > > в системе... ( код то плюсатый...)  дальше еще интереснее:
> >
> > [...]
> >
> > > нужна)....
> > > неужели поддержка -m32 у нас настолько формальна что при -m32
> > > компилятор не имеет привычки набльдать наличие хидеров ???
> > >
> > > ЗЫ: есть идеи???
> >
> > $ cat >t.cc <<EOF
> > #include <bits/c++config.h>
> > EOF
> > $ g++ -c t.cc
> > $ g++ -m32 -c t.cc
> > t.cc:1:28: error: bits/c++config.h: No such file or directory
> > $ find /usr/include/ -name c++config.h
> > /usr/include/c++/4.3.2/i586-alt-linux/bits/c++config.h
> > /usr/include/c++/4.3.2/x86_64-alt-linux/bits/c++config.h
> >
> > Что-то в g++ по сравнению с обычным gcc не добиарчено.
>
> В пакете i586-libstdc++4.3-devel не хватало одной ссылки.
> Добавили, теперь g++ -m32 работает.
Если не секрет, которой? 
В какую сторону следует поправить конфиг перепаковщика?

-- 
Denis Kuznetsov

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] i586-libstdc++4.3-devel: missing symlink
  2009-02-06  7:24         ` Denis Kuznetsov
@ 2009-02-06 10:48           ` Dmitry V. Levin
  2009-02-08 11:28             ` Denis Kuznetsov
  0 siblings, 1 reply; 15+ messages in thread
From: Dmitry V. Levin @ 2009-02-06 10:48 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 674 bytes --]

On Fri, Feb 06, 2009 at 09:24:48AM +0200, Denis Kuznetsov wrote:
> On Friday 06 February 2009 00:36:39 Dmitry V. Levin wrote:
[...]
> > В пакете i586-libstdc++4.3-devel не хватало одной ссылки.
> > Добавили, теперь g++ -m32 работает.
> Если не секрет, которой? 

%_includedir/c++/%version/x86_64-alt-linux/32

> В какую сторону следует поправить конфиг перепаковщика?

hacks:
    libstdc++4.3-devel:
        after-install: |
            %define gxxidir %_includedir/c++/%version/x86_64-alt-linux
            mkdir -p %buildroot%gxxidir
            ln -s ../i586-alt-linux %buildroot%gxxidir/32
        after-files: |
            %gxxidir/32


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [devel] i586-libstdc++4.3-devel: missing symlink
  2009-02-06 10:48           ` Dmitry V. Levin
@ 2009-02-08 11:28             ` Denis Kuznetsov
  0 siblings, 0 replies; 15+ messages in thread
From: Denis Kuznetsov @ 2009-02-08 11:28 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Friday 06 February 2009 12:48:32 Dmitry V. Levin wrote:
> On Fri, Feb 06, 2009 at 09:24:48AM +0200, Denis Kuznetsov wrote:
> > On Friday 06 February 2009 00:36:39 Dmitry V. Levin wrote:
>
> [...]
>
> > > В пакете i586-libstdc++4.3-devel не хватало одной ссылки.
> > > Добавили, теперь g++ -m32 работает.
> >
> > Если не секрет, которой?
>
> %_includedir/c++/%version/x86_64-alt-linux/32
>
> > В какую сторону следует поправить конфиг перепаковщика?
>
> hacks:
>     libstdc++4.3-devel:
>         after-install: |
>             %define gxxidir %_includedir/c++/%version/x86_64-alt-linux
>             mkdir -p %buildroot%gxxidir
>             ln -s ../i586-alt-linux %buildroot%gxxidir/32
>         after-files: |
>             %gxxidir/32

Спасибо. лекарство помогло.

-- 
Denis Kuznetsov
	mailto: kde@kde.kiev.ua
	jabber: denis.e.kuznetsov@gmail.com

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-02-08 11:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-12 15:42 [devel] libstdc++4.3-devel-4.3.2-alt7 непонятка kde
2009-01-12 15:47 ` Led
2009-01-12 15:52 ` Mikhail Gusarov
2009-01-12 17:15   ` Denis Kuznetsov
2009-01-12 15:53 ` Damir Shayhutdinov
2009-01-12 17:19   ` Denis Kuznetsov
2009-01-12 17:21     ` Mikhail Gusarov
2009-01-12 21:05       ` Denis Kuznetsov
2009-01-13 10:57   ` kde
2009-02-03 16:24     ` [devel] g++ -m32: missing header files Dmitry V. Levin
2009-02-04 20:55       ` Denis Kuznetsov
2009-02-05 22:36       ` [devel] i586-libstdc++4.3-devel: missing symlink Dmitry V. Levin
2009-02-06  7:24         ` Denis Kuznetsov
2009-02-06 10:48           ` Dmitry V. Levin
2009-02-08 11:28             ` Denis Kuznetsov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git