Re: Building GCC-4.8.1 without ports

2013-09-16 Thread niXman
2013/9/11 niXman:
 2013/9/11 Tobias Ulmer:
 Because it's work. Do you volunteer?

 Yes, I will, if someone will coordinate me.
 First of all, I need a description of what exactly problem is solved
 by each patch.

ping?


-- 
Regards,
niXman
___
Dual-target(32  64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingwbuilds/
___
Another online IDE: http://liveworkspace.org/



Re: Building GCC-4.8.1 without ports

2013-09-16 Thread niXman
Ie, we(OBSD developers/maintainers) have no time to send patches to
the GCC-patches, and you have no desire to help me to send them. I
understand correctly?


P.S.

2013/9/16 Marc Espie:
 Yes, USE THE FUCKING PORT.
...
 Look, you are obviously a clueless newbie.
...
 Or just shut up.

And you seem to be a rude fellow.



-- 
Regards,
niXman
___
Dual-target(32  64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingwbuilds/
___
Another online IDE: http://liveworkspace.org/



Building GCC-4.8.1 without ports

2013-09-11 Thread niXman
Hi,

I try to build GCC-4.8.1 on pre 5.4 without ports and faced with the
following error when libgomp is configured:
configure:3664: checking for C compiler default output file name
configure:3686: /home/nixman/build/./gcc/xgcc
-B/home/nixman/build/./gcc/
-B/home/nixman/prefix/x86_64-unknown-openbsd5.4/bin/
-B/home/nixman/prefix/x86_64-unknown-openbsd5.4/lib/ -isystem
/home/nixman/prefix/x86_64-unknown-openbsd5.4/include -isystem
/home/nixman/prefix/x86_64-unknown-openbsd5.4/sys-include-g -O2
conftest.c  5
/usr/bin/ld: /tmp//ccgLXgHL.o: relocation R_X86_64_32 can not be used
when making a shared object; recompile with -fPIC
/tmp//ccgLXgHL.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
configure:3690: $? = 1
configure:3727: result:
configure: failed program was:
...
...
configure:3733: error: in
`/home/nixman/build/x86_64-unknown-openbsd5.4/libgomp':
configure:3736: error: C compiler cannot create executables


GCC configured with:
--prefix=/home/nixman/prefix \
--disable-shared \
--with-{gmp,mpfr,mpc}=/home/nixman/prefix \
--disable-nls \
--disable-miltilib \
--with-gnu-as \
--with-gnu-ld \
--enable-languages=c,c++,fortran,go \
--host=x86_64-unknown-openbsd5.4 \
--build=x86_64-unknown-openbsd5.4 \
--target=x86_64-unknown-openbsd5.4

gmp,mpfr,mpc configured witg --disable-shared

Ideas?

Thanks!

-- 
Regards,
niXman



Re: Building GCC-4.8.1 without ports

2013-09-11 Thread niXman
2013/9/11 Stuart Henderson
 The error message gives quite a good clue:

 relocation R_X86_64_32 can not be used when making a shared object; recompile 
 with -fPIC

Maybe, but it doesn't speak to me about anything. Can you help me?


-- 
Regards,
niXman



Re: Building GCC-4.8.1 without ports

2013-09-11 Thread niXman
2013/9/11 Stuart Henderson
 recompile with -fPIC seems clear to me. If this doesn't mean anything
 to you, I don't think you should be trying to port GCC by yourself.

I understand that. I do not understand what I have to rebuild with '-fPIC'?
GCC?
/tmp/ccgLXgHL.o?
Or something else?


--
Regards,
niXman



Re: Building GCC-4.8.1 without ports

2013-09-11 Thread niXman
2013/9/11 Tobias Ulmer:
 This is only the first of many many errors. There is no support for
 OpenBSD in vanilla gcc.

Why not send patches to gcc-patc...@gcc.gnu.org ?


-- 
Regards,
niXman
___
Dual-target(32  64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingwbuilds/
___
Another online IDE: http://liveworkspace.org/



Re: Building GCC-4.8.1 without ports

2013-09-11 Thread niXman
2013/9/11 Gregor Best g...@ring0.de:
 If you understood what -fPIC meant, and if you understood the message,
 it should be clear what you have to do.

Let's say you know that I need to rebuild with '-fPIC'...
Then tell me please, why gcc and libgcc are configured and built
successfully, but libgomp is not?


-- 
Regards,
niXman



Re: Building GCC-4.8.1 without ports

2013-09-11 Thread niXman
2013/9/11 Tobias Ulmer:
 Because it's work. Do you volunteer?

Yes, I will, if someone will coordinate me.
First of all, I need a description of what exactly problem is solved
by each patch.



-- 
Regards,
niXman
___
Dual-target(32  64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingwbuilds/
___
Another online IDE: http://liveworkspace.org/



llvm and libc++

2013-09-10 Thread niXman
Hi,

Tell me please, why LLVM is built without clang-libc++[1] support?


[1] http://libcxx.llvm.org/

-- 
Regards,
niXman