Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-22 Thread Paulo Flabiano Smorigo
On 2015-07-22 00:23, Andrei Borzenkov wrote: В Wed, 15 Jul 2015 19:42:39 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: It is possible to compile using "--target=powerpc -Wl,-EB" - this works on all three ppc, ppc64 and ppc64le, but this means hardcoding GNU ld dependency. Thanks for t

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-21 Thread Andrei Borzenkov
В Wed, 15 Jul 2015 19:42:39 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > > It is possible to compile using "--target=powerpc -Wl,-EB" - this works > > on all three ppc, ppc64 and ppc64le, but this means hardcoding GNU ld > > dependency. > > > Thanks for this info. > See attached patch

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-20 Thread Paulo Flabiano Smorigo
On 2015-07-16 16:30, Andrei Borzenkov wrote: В Thu, 16 Jul 2015 21:05:07 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: On 16.07.2015 20:55, Andrei Borzenkov wrote: В Wed, 15 Jul 2015 19:42:39 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: It is possible to compile using "--target=

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-16 Thread Andrei Borzenkov
В Thu, 16 Jul 2015 21:05:07 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 16.07.2015 20:55, Andrei Borzenkov wrote: > > В Wed, 15 Jul 2015 19:42:39 +0200 > > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > > >> > >>> It is possible to compile using "--target=powerpc -Wl,-EB" - this w

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-16 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 16.07.2015 20:55, Andrei Borzenkov wrote: > В Wed, 15 Jul 2015 19:42:39 +0200 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> >>> It is possible to compile using "--target=powerpc -Wl,-EB" - this works >>> on all three ppc, ppc64 and ppc64le, but this means hardcoding GNU ld >>> dependency

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-16 Thread Andrei Borzenkov
В Wed, 15 Jul 2015 19:42:39 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > > It is possible to compile using "--target=powerpc -Wl,-EB" - this works > > on all three ppc, ppc64 and ppc64le, but this means hardcoding GNU ld > > dependency. > > > Thanks for this info. > See attached patch

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-15 Thread Vladimir 'φ-coder/phcoder' Serbinenko
> It is possible to compile using "--target=powerpc -Wl,-EB" - this works > on all three ppc, ppc64 and ppc64le, but this means hardcoding GNU ld > dependency. > Thanks for this info. See attached patch > So I'd rather try to produce patch for proper support of > -mbig-endian/-mlittle-endian (inc

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-15 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04.07.2015 08:46, Andrei Borzenkov wrote: > В Tue, 30 Jun 2015 21:34:10 +0200 > "Vladimir 'phcoder' Serbinenko" пишет: > >> I think those flags disable only runtime libraries, not the code generation > > Yes, you are right. Clang seems to be built for the whole family, i.e. > PowerPC, which s

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-15 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 30.06.2015 20:28, Andrei Borzenkov wrote: > В Tue, 30 Jun 2015 15:05:46 -0300 > Paulo Flabiano Smorigo пишет: > >> On 2015-06-30 11:33, Vladimir 'phcoder' Serbinenko wrote: >>> What about clang? >> >> Not good news about clang support. This is what the toolchain team said >> about it: >> >> T

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-05 Thread Andrei Borzenkov
В Sat, 4 Jul 2015 09:46:59 +0300 Andrei Borzenkov пишет: > В Tue, 30 Jun 2015 21:34:10 +0200 > "Vladimir 'phcoder' Serbinenko" пишет: > > > I think those flags disable only runtime libraries, not the code generation > > Yes, you are right. Clang seems to be built for the whole family, i.e. > P

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-03 Thread Andrei Borzenkov
В Tue, 30 Jun 2015 21:34:10 +0200 "Vladimir 'phcoder' Serbinenko" пишет: > I think those flags disable only runtime libraries, not the code generation Yes, you are right. Clang seems to be built for the whole family, i.e. PowerPC, which seems to automatically include all three versions (ppc, ppc

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-06-30 Thread Vladimir 'phcoder' Serbinenko
I think those flags disable only runtime libraries, not the code generation Le 30 juin 2015 20:29, "Andrei Borzenkov" a écrit : > В Tue, 30 Jun 2015 15:05:46 -0300 > Paulo Flabiano Smorigo пишет: > > > On 2015-06-30 11:33, Vladimir 'phcoder' Serbinenko wrote: > > > What about clang? > > > > Not

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-06-30 Thread Andrei Borzenkov
В Tue, 30 Jun 2015 15:05:46 -0300 Paulo Flabiano Smorigo пишет: > On 2015-06-30 11:33, Vladimir 'phcoder' Serbinenko wrote: > > What about clang? > > Not good news about clang support. This is what the toolchain team said > about it: > > The -mbig-endian option was added around April 10th, 201

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-06-30 Thread Paulo Flabiano Smorigo
On 2015-06-30 11:33, Vladimir 'phcoder' Serbinenko wrote: What about clang? Not good news about clang support. This is what the toolchain team said about it: The -mbig-endian option was added around April 10th, 2014. Unfortunately, those who implemented it only implemented it for ARM and o

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-06-30 Thread Paulo Flabiano Smorigo
On 2015-06-30 11:29, Andrei Borzenkov wrote: On Tue, Jun 30, 2015 at 5:03 PM, Vladimir 'phcoder' Serbinenko wrote: Which compilers support these flags? I'm concerned of breaking old compilers -static and -mbig-endian are listed in gcc 2.95.3 documentation for PPC. I asked some toolchain fo

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-06-30 Thread Vladimir 'phcoder' Serbinenko
What about clang? Le 30 juin 2015 16:30, "Andrei Borzenkov" a écrit : > On Tue, Jun 30, 2015 at 5:03 PM, Vladimir 'phcoder' Serbinenko > wrote: > > Which compilers support these flags? I'm concerned of breaking old > compilers > > > > -static and -mbig-endian are listed in gcc 2.95.3 documentati

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-06-30 Thread Andrei Borzenkov
On Tue, Jun 30, 2015 at 5:03 PM, Vladimir 'phcoder' Serbinenko wrote: > Which compilers support these flags? I'm concerned of breaking old compilers > -static and -mbig-endian are listed in gcc 2.95.3 documentation for PPC. > Le 30 juin 2015 14:57, "Paulo Flabiano Smorigo" > a écrit : >> >> lib

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-06-30 Thread Vladimir 'phcoder' Serbinenko
Which compilers support these flags? I'm concerned of breaking old compilers Le 30 juin 2015 14:57, "Paulo Flabiano Smorigo" < pfsmor...@linux.vnet.ibm.com> a écrit : > libgcc dependency was removed *just* for this target because > the distros that use ppc64el doesn't have 32-bit support on it. >