public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Re: Regarding GCC mips64 cross compiler for x86
       [not found]                                   ` <CAJ+oik1fXZdtMnTnCg_9VutqOBnakT-YBBehLNSBagNdoyT-3Q@mail.gmail.com>
@ 2015-11-04 21:54                                     ` Bryan Hundven
       [not found]                                       ` <CABbvK+HgobYx8f87Ki2nwQVTuiZhwTrfv16v-ukaOtQd8k9mvw@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Bryan Hundven @ 2015-11-04 21:54 UTC (permalink / raw)
  To: Sasikumar Kandhasamy; +Cc: sellcey, crossgcc maillist

Sasikumar,

On Wed, Nov 4, 2015 at 1:53 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> Sasikumar,
>
> On Wed, Nov 4, 2015 at 1:51 PM, Sasikumar Kandhasamy <ckmsasi@gmail.com> wrote:
>> Hi Bryan,
>>
>> Found the option to build the regular cross toolchain using glibc. But, am
>> getting below error while extracting the newlibc. Here, i haven't selected
>> newlib in the config, but still ct-ng is trying to build newlib-2.2.0. Is it
>> expected?
>
> If you change the config run `ct-ng clean` before running `ct-ng build` again.
> You have to clean out the build directory first! :)

I am moving this conversation to crossgcc@sourceware.org from
gcc-help@gcc.gnu.org, as this is the proper place for this
conversation.

Let us know if you need further assistance!

Cheers,

-Bryan

>> ALL  ]    mode of `./config.sub' retained as 0755 (rwxr-xr-x)
>> [ALL  ]    `/crossng/bldcng/crosstool-ng/scripts/config.sub' ->
>> `./config.sub'
>> [DEBUG]    ==> Executing: 'touch'
>> '/crossng/bldcng/ctc/.build/src/.gcc-5.2.0.patched'
>> [DEBUG]    ==> Executing: 'rm' '-f'
>> '/crossng/bldcng/ctc/.build/src/.gcc-5.2.0.patching'
>> [DEBUG]    ==> Executing: 'touch'
>> '/crossng/bldcng/ctc/.build/src/.newlib-2.2.0.extracting'
>> [DEBUG]    Entering '/crossng/bldcng/ctc/.build/src'
>> [EXTRA]    Extracting 'newlib-2.2.0'
>> [DEBUG]    ==> Executing: 'mkdir' '-p' 'newlib-2.2.0'
>> [DEBUG]    ==> Executing: 'tar' '--strip-components=1' '-C' 'newlib-2.2.0'
>> '-xv' '-f' '-'
>> [FILE ]    tar: This does not look like a tar archive
>> [FILE ]    tar: Exiting with failure status due to previous errors
>> [ERROR]
>> [ERROR]  >>
>> [ERROR]  >>  Build failed in step 'Extracting and patching toolchain
>> components'
>> [ERROR]  >>        called in step '(top-level)'
>> [ERROR]  >>
>> [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
>> [ERROR]  >>        called from: CT_Extract[scripts/functions@982]
>> [ERROR]  >>        called from:
>> do_libc_extract[scripts/build/libc/newlib.sh@39]
>> [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@609]
>> [ERROR]  >>
>> [ERROR]  >>  For more info on this error, look at the file: 'build.log'
>> [ERROR]  >>  There is a list of known issues, some with workarounds, in:
>> [ERROR]  >>      '/crossng/bldcng/crosstool-ng/docs/B - Known issue
>>
>>
>> Thanks & Regards
>> Sasi
>>
>> On Wed, Nov 4, 2015 at 11:27 AM, Sasikumar Kandhasamy <ckmsasi@gmail.com>
>> wrote:
>>>
>>> Thanks a lot Bryan. That worked. Currently, build is in progress.
>>>
>>> Another clarification, does it build elf/abi bare metal cross toolchain or
>>> regular gcc cross toolchain? Because i would like build regular cross
>>> toolchain and didn't see any option in menuconfig regarding the same.
>>>
>>> Thanks & Regards
>>> Sasi
>>>
>>> On Wed, Nov 4, 2015 at 2:48 AM, Bryan Hundven <bryanhundven@gmail.com>
>>> wrote:
>>>>
>>>> Sasikumar,
>>>>
>>>> On Mon, Nov 2, 2015 at 4:20 PM, Sasikumar Kandhasamy <ckmsasi@gmail.com>
>>>> wrote:
>>>> > Hi Steve/Bryan,
>>>> >
>>>> > My linux machine is doesn't have latest autoconf to configure the
>>>> > crosstool-ng and i don't have permission to upgrade the autoconf and
>>>> > dependency software.
>>>> >
>>>> > How can i get the latest version of crosstool-ng with the above fix?
>>>> > Also, i
>>>> > hope, we can configure crosstool-ng manually.
>>>>
>>>> You could just install autoconf, automake, and libtool to a local
>>>> path, say: $HOME/autotools
>>>>
>>>> get the source for each...
>>>> ./configure --prefix="$HOME/autotools"
>>>> make
>>>> make install
>>>> export PATH="$HOME/autotools:$PATH"
>>>>
>>>> Cheers,
>>>>
>>>> -Bryan
>>>>
>>>> > Thanks & Regards
>>>> > Sasi
>>>> >
>>>> > On Mon, Nov 2, 2015 at 3:52 PM, Steve Ellcey <sellcey@imgtec.com>
>>>> > wrote:
>>>> >>
>>>> >> On Mon, 2015-11-02 at 14:19 -0800, Bryan Hundven wrote:
>>>> >>
>>>> >> > > Oh! I see now. 64-bit should not need to be marked as
>>>> >> > > experimental!
>>>> >> > > I will make sure that is fixed in 1.22.0 (which will be releasing
>>>> >> > > soon!)!
>>>> >> >
>>>> >> > My apologies for not noticing the issue sooner! This is now fixed in
>>>> >> > git and will be fixed in 1.22.0:
>>>> >> >
>>>> >> >
>>>> >> > https://github.com/crosstool-ng/crosstool-ng/commit/4be766254d2368901513aa25fefbaa383092f3cd
>>>> >> >
>>>> >> > Thanks!
>>>> >> >
>>>> >> > -Bryan
>>>> >>
>>>> >> FYI: I downloaded the latest crosstool-ng sources and was able to
>>>> >> successfully build a mips64 toolchain (n64 ABI) that included Fortran.
>>>> >>
>>>> >> Steve Ellcey
>>>> >> sellcey@imgtec.com
>>>> >>
>>>> >
>>>
>>>
>>

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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

* Re: Regarding GCC mips64 cross compiler for x86
       [not found]                                         ` <CABbvK+HA12XdYcszv1Rd+OwyPBqbHDQpA4dOMAWj__7wVHudXg@mail.gmail.com>
@ 2015-11-05  0:42                                           ` Bryan Hundven
  0 siblings, 0 replies; 2+ messages in thread
From: Bryan Hundven @ 2015-11-05  0:42 UTC (permalink / raw)
  To: Sasikumar Kandhasamy; +Cc: sellcey, crossgcc maillist

Sasikumar,

On Wed, Nov 4, 2015 at 4:36 PM, Sasikumar Kandhasamy <ckmsasi@gmail.com> wrote:
> Hi Bryan,
>
> Even after clean, i am getting into same issue i.e., though config doesn't
> have newlib, still ct-ng is trying to extract newlib. Even, i tried removing
> the existing cross toolchain build directory and created new one. Anyidea,
> what might be an issue here.

Use https://pastebin.osuosl.org/ to paste your config and build log
(separately).

> ==> Executing: 'mkdir' '-p' 'newlib-2.2.0'
> [DEBUG]    ==> Executing: 'tar' '--strip-components=1' '-C' 'newlib-2.2.0'
> '-xv' '-f' '-'
> [FILE ]    tar: This does not look like a tar archive
> [FILE ]    tar: Exiting with failure status due to previous errors
> [ERROR]
> [ERROR]  >>
> [ERROR]  >>  Build failed in step 'Extracting and patching toolchain
> components'
> [ERROR]  >>        called in step '(top-level)'
> [ERROR]  >>
> [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
> [ERROR]  >>        called from: CT_Extract[scripts/functions@982]
> [ERROR]  >>        called from:
> do_libc_extract[scripts/build/libc/newlib.sh@39]
> [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@609]
> [ERROR]  >>
> [ERROR]  >>  For more info on this error, look at the file: 'build.log'
> [ERROR]  >>  There is a list of known issues, some with workarounds, in:
> [ERROR]  >>      '/crossng/bldcng/crosstool-ng/d
>
>
> Thanks & Regards
> Sasi
>
> On Wed, Nov 4, 2015 at 2:11 PM, Sasikumar Kandhasamy <ckmsasi@gmail.com>
> wrote:
>>
>> Great, Thanks Bryan.
>>
>> After cleanup, started my build. Will update the thread with my findings.
>> Thanks again, Bryan.
>>
>> Thanks & Regards
>> Sasi
>>
>> On Wed, Nov 4, 2015 at 1:54 PM, Bryan Hundven <bryanhundven@gmail.com>
>> wrote:
>>>
>>> Sasikumar,
>>>
>>> On Wed, Nov 4, 2015 at 1:53 PM, Bryan Hundven <bryanhundven@gmail.com>
>>> wrote:
>>> > Sasikumar,
>>> >
>>> > On Wed, Nov 4, 2015 at 1:51 PM, Sasikumar Kandhasamy
>>> > <ckmsasi@gmail.com> wrote:
>>> >> Hi Bryan,
>>> >>
>>> >> Found the option to build the regular cross toolchain using glibc.
>>> >> But, am
>>> >> getting below error while extracting the newlibc. Here, i haven't
>>> >> selected
>>> >> newlib in the config, but still ct-ng is trying to build newlib-2.2.0.
>>> >> Is it
>>> >> expected?
>>> >
>>> > If you change the config run `ct-ng clean` before running `ct-ng build`
>>> > again.
>>> > You have to clean out the build directory first! :)
>>>
>>> I am moving this conversation to crossgcc@sourceware.org from
>>> gcc-help@gcc.gnu.org, as this is the proper place for this
>>> conversation.
>>>
>>> Let us know if you need further assistance!
>>>
>>> Cheers,
>>>
>>> -Bryan
>>>
>>> >> ALL  ]    mode of `./config.sub' retained as 0755 (rwxr-xr-x)
>>> >> [ALL  ]    `/crossng/bldcng/crosstool-ng/scripts/config.sub' ->
>>> >> `./config.sub'
>>> >> [DEBUG]    ==> Executing: 'touch'
>>> >> '/crossng/bldcng/ctc/.build/src/.gcc-5.2.0.patched'
>>> >> [DEBUG]    ==> Executing: 'rm' '-f'
>>> >> '/crossng/bldcng/ctc/.build/src/.gcc-5.2.0.patching'
>>> >> [DEBUG]    ==> Executing: 'touch'
>>> >> '/crossng/bldcng/ctc/.build/src/.newlib-2.2.0.extracting'
>>> >> [DEBUG]    Entering '/crossng/bldcng/ctc/.build/src'
>>> >> [EXTRA]    Extracting 'newlib-2.2.0'
>>> >> [DEBUG]    ==> Executing: 'mkdir' '-p' 'newlib-2.2.0'
>>> >> [DEBUG]    ==> Executing: 'tar' '--strip-components=1' '-C'
>>> >> 'newlib-2.2.0'
>>> >> '-xv' '-f' '-'
>>> >> [FILE ]    tar: This does not look like a tar archive
>>> >> [FILE ]    tar: Exiting with failure status due to previous errors
>>> >> [ERROR]
>>> >> [ERROR]  >>
>>> >> [ERROR]  >>  Build failed in step 'Extracting and patching toolchain
>>> >> components'
>>> >> [ERROR]  >>        called in step '(top-level)'
>>> >> [ERROR]  >>
>>> >> [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
>>> >> [ERROR]  >>        called from: CT_Extract[scripts/functions@982]
>>> >> [ERROR]  >>        called from:
>>> >> do_libc_extract[scripts/build/libc/newlib.sh@39]
>>> >> [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@609]
>>> >> [ERROR]  >>
>>> >> [ERROR]  >>  For more info on this error, look at the file:
>>> >> 'build.log'
>>> >> [ERROR]  >>  There is a list of known issues, some with workarounds,
>>> >> in:
>>> >> [ERROR]  >>      '/crossng/bldcng/crosstool-ng/docs/B - Known issue
>>> >>
>>> >>
>>> >> Thanks & Regards
>>> >> Sasi
>>> >>
>>> >> On Wed, Nov 4, 2015 at 11:27 AM, Sasikumar Kandhasamy
>>> >> <ckmsasi@gmail.com>
>>> >> wrote:
>>> >>>
>>> >>> Thanks a lot Bryan. That worked. Currently, build is in progress.
>>> >>>
>>> >>> Another clarification, does it build elf/abi bare metal cross
>>> >>> toolchain or
>>> >>> regular gcc cross toolchain? Because i would like build regular cross
>>> >>> toolchain and didn't see any option in menuconfig regarding the same.
>>> >>>
>>> >>> Thanks & Regards
>>> >>> Sasi
>>> >>>
>>> >>> On Wed, Nov 4, 2015 at 2:48 AM, Bryan Hundven
>>> >>> <bryanhundven@gmail.com>
>>> >>> wrote:
>>> >>>>
>>> >>>> Sasikumar,
>>> >>>>
>>> >>>> On Mon, Nov 2, 2015 at 4:20 PM, Sasikumar Kandhasamy
>>> >>>> <ckmsasi@gmail.com>
>>> >>>> wrote:
>>> >>>> > Hi Steve/Bryan,
>>> >>>> >
>>> >>>> > My linux machine is doesn't have latest autoconf to configure the
>>> >>>> > crosstool-ng and i don't have permission to upgrade the autoconf
>>> >>>> > and
>>> >>>> > dependency software.
>>> >>>> >
>>> >>>> > How can i get the latest version of crosstool-ng with the above
>>> >>>> > fix?
>>> >>>> > Also, i
>>> >>>> > hope, we can configure crosstool-ng manually.
>>> >>>>
>>> >>>> You could just install autoconf, automake, and libtool to a local
>>> >>>> path, say: $HOME/autotools
>>> >>>>
>>> >>>> get the source for each...
>>> >>>> ./configure --prefix="$HOME/autotools"
>>> >>>> make
>>> >>>> make install
>>> >>>> export PATH="$HOME/autotools:$PATH"
>>> >>>>
>>> >>>> Cheers,
>>> >>>>
>>> >>>> -Bryan
>>> >>>>
>>> >>>> > Thanks & Regards
>>> >>>> > Sasi
>>> >>>> >
>>> >>>> > On Mon, Nov 2, 2015 at 3:52 PM, Steve Ellcey <sellcey@imgtec.com>
>>> >>>> > wrote:
>>> >>>> >>
>>> >>>> >> On Mon, 2015-11-02 at 14:19 -0800, Bryan Hundven wrote:
>>> >>>> >>
>>> >>>> >> > > Oh! I see now. 64-bit should not need to be marked as
>>> >>>> >> > > experimental!
>>> >>>> >> > > I will make sure that is fixed in 1.22.0 (which will be
>>> >>>> >> > > releasing
>>> >>>> >> > > soon!)!
>>> >>>> >> >
>>> >>>> >> > My apologies for not noticing the issue sooner! This is now
>>> >>>> >> > fixed in
>>> >>>> >> > git and will be fixed in 1.22.0:
>>> >>>> >> >
>>> >>>> >> >
>>> >>>> >> >
>>> >>>> >> > https://github.com/crosstool-ng/crosstool-ng/commit/4be766254d2368901513aa25fefbaa383092f3cd
>>> >>>> >> >
>>> >>>> >> > Thanks!
>>> >>>> >> >
>>> >>>> >> > -Bryan
>>> >>>> >>
>>> >>>> >> FYI: I downloaded the latest crosstool-ng sources and was able to
>>> >>>> >> successfully build a mips64 toolchain (n64 ABI) that included
>>> >>>> >> Fortran.
>>> >>>> >>
>>> >>>> >> Steve Ellcey
>>> >>>> >> sellcey@imgtec.com
>>> >>>> >>
>>> >>>> >
>>> >>>
>>> >>>
>>> >>
>>
>>
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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

end of thread, other threads:[~2015-11-05  0:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <BCCF0E08-D798-4C4A-8649-6105E7212744@gmail.com>
     [not found] ` <1445966609.2982.74.camel@ubuntu-sellcey>
     [not found]   ` <CABbvK+FLNqYmUkQv6jwNFu+E49aw9HTQXnq1kupxw8vw_E+jZw@mail.gmail.com>
     [not found]     ` <1446055811.2982.109.camel@ubuntu-sellcey>
     [not found]       ` <CABbvK+HjiUPO3Ty8kUDX3bqPzYKZn+rWutsD2OEp5LKVW3AzSg@mail.gmail.com>
     [not found]         ` <1446237377.2982.168.camel@ubuntu-sellcey>
     [not found]           ` <CAJ+oik0-GNuXWU--KcUXgon=h9MTE8sBuhSY9e=6PtBiyTmzPg@mail.gmail.com>
     [not found]             ` <1446240748.2982.188.camel@ubuntu-sellcey>
     [not found]               ` <CAJ+oik0dSra+S6Oe-m_N4jCD9so9_DnLhAtqj81-CtuBA0KMrQ@mail.gmail.com>
     [not found]                 ` <1446501778.3321.9.camel@ubuntu-sellcey>
     [not found]                   ` <CAJ+oik3sxJeLjEhGGNvUMo8jPgZ2j8CyFMW5JiCHtNMODyLqkA@mail.gmail.com>
     [not found]                     ` <CAJ+oik2WPotVDcX7CyaTHuP1gNz9MH_KM5BmpHKLh1PLA4WAbA@mail.gmail.com>
     [not found]                       ` <CAJ+oik1BmgAtxOzaLvgG7Pik5Usz8fbwj3LynZ5TF63WRvDa9w@mail.gmail.com>
     [not found]                         ` <1446508379.3321.19.camel@ubuntu-sellcey>
     [not found]                           ` <CABbvK+Ek=K_NM-90cT4a+_MaB0za8YrggQkoy6qw4bTMuwRPyw@mail.gmail.com>
     [not found]                             ` <CAJ+oik28BWdmn5d3WLLxetnscTe4dQAAvh_cdykN1jZjry_NmQ@mail.gmail.com>
     [not found]                               ` <CABbvK+Ghp0BN-AT_gz8_QvL7n4k3Lbr+4oAEmPnhFSB-t_==7w@mail.gmail.com>
     [not found]                                 ` <CABbvK+Gpg7gY-RShKPWtGoV=2eL5AHQ8Z1+Ewfvk=hYHD59VQA@mail.gmail.com>
     [not found]                                   ` <CAJ+oik1fXZdtMnTnCg_9VutqOBnakT-YBBehLNSBagNdoyT-3Q@mail.gmail.com>
2015-11-04 21:54                                     ` Regarding GCC mips64 cross compiler for x86 Bryan Hundven
     [not found]                                       ` <CABbvK+HgobYx8f87Ki2nwQVTuiZhwTrfv16v-ukaOtQd8k9mvw@mail.gmail.com>
     [not found]                                         ` <CABbvK+HA12XdYcszv1Rd+OwyPBqbHDQpA4dOMAWj__7wVHudXg@mail.gmail.com>
2015-11-05  0:42                                           ` Bryan Hundven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).