You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Robin Garner <ro...@anu.edu.au> on 2006/09/22 05:04:47 UTC
[DRLVM] Build problems - Stl.h
Thanks to everyone who assisted before ... the build is progressing, but
now fails with
> [cc] /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_tree.h:36 7: error: no matching function for call to ‘Jitrino::StlMMAllocator<Jitrino::Opnd*>::construct (std::pair<Jitrino::Opnd* const, Jitrino::Opnd*>*, const std::pair<Jitrino::Opnd* const, Jitri no::Opnd*>&)’
> [cc] /home/robing/harmony/drlvm/vm/jitrino/src/shared/Stl.h:123: note: candidates are: void Jitrino::StlMMAllocator<T>::construct(T*, const T&) [with T = Jitrino::Opnd*]
>
> BUILD FAILED
> /home/robing/harmony/drlvm/build/make/build.xml:404: The following error occurred while execut ing this line:
> /home/robing/harmony/drlvm/build/make/build.xml:411: The following error occurred while execut ing this line:
> /home/robing/harmony/drlvm/build/make/build_component.xml:72: The following error occurred whi le executing this line:
> /home/robing/harmony/drlvm/build/lnx_ia32_gcc_debug/semis/build/targets/build.native.xml:75: g cc failed with return code 1
>
Thanks in advance,
Robin
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [DRLVM] Build problems - Stl.h
Posted by Vladimir Gorr <vv...@gmail.com>.
On 9/22/06, Robin Garner <ro...@anu.edu.au> wrote:
>
> Geir Magnusson Jr. wrote:
>
> >
> > IIRC, there's something broken about us and gcc 4.
> >
> > Go back to gcc 3.4.6 or so...
> >
> > geir
>
> OK, so I worked out I do this by editing lnx.properties and changing
>
> # Default C compiler, either icc or gcc
> -CXX=gcc
> +CXX=gcc-3.4
Not sure your action is correct. Please set PATH to gcc-3.4 and try to build
again w/o this change.
Thanks,
Vladimir.
> common_extra:
> >
> > BUILD FAILED
> > /home/robing/harmony/drlvm/build/make/build.xml:404: The following error
> occurred while executing this line:
> > /home/robing/harmony/drlvm/build/make/build.xml:411: The following error
> occurred while executing this line:
> > /home/robing/harmony/drlvm/build/make/build_component.xml:72: The
> following error occurred while executing this line:
> > /home/robing/harmony/drlvm/build/lnx_ia32_gcc-
> 3.4_debug/semis/build/targets/common_extra.xml:8: gcc-3.4 is not a legal
> value for this attribute
> >
>
> what next ? :)
>
> Thanks,
> Robin
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
Re: [DRLVM] Build problems - Stl.h
Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
On Sep 22, 2006, at 12:43 AM, Robin Garner wrote:
> Geir Magnusson Jr. wrote:
>> On Sep 22, 2006, at 12:02 AM, Robin Garner wrote:
>>> Geir Magnusson Jr. wrote:
>>>
>>>> IIRC, there's something broken about us and gcc 4.
>>>> Go back to gcc 3.4.6 or so...
>>>> geir
>>>
>>> OK, so I worked out I do this by editing lnx.properties and changing
>>>
>>> # Default C compiler, either icc or gcc
>>> -CXX=gcc
>>> +CXX=gcc-3.4
>> Ew... c'mon....
>> $ ln -s /usr/bin/gcc-3.4 gcc
>> $ ln -s /usr/bin/g++-3.4 g++
>
> Eurghh. Yes I know this would do, but I was kind of hoping for
> something resembling elegant :)
Depends on your definition of elegant, I suppose... :)
>
>>>
>>>> common_extra:
>>>> BUILD FAILED
>>>> /home/robing/harmony/drlvm/build/make/build.xml:404: The
>>>> following error occurred while executing this line:
>>>> /home/robing/harmony/drlvm/build/make/build.xml:411: The
>>>> following error occurred while executing this line:
>>>> /home/robing/harmony/drlvm/build/make/build_component.xml:72:
>>>> The following error occurred while executing this line:
>>>> /home/robing/harmony/drlvm/build/lnx_ia32_gcc-3.4_debug/semis/
>>>> build/targets/common_extra.xml:8: gcc-3.4 is not a legal value
>>>> for this attribute
>>>
>>> what next ? :)
>>>
>> See above :) Hopefully you are getting the idea that our build
>> for DRLVM is very fragile (and need to be replaced). Don't taunt
>> the build....
>> geir
>>> Thanks,
>>> Robin
>>>
>>> --------------------------------------------------------------------
>>> -
>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>> For additional commands, e-mail: harmony-dev-
>>> help@incubator.apache.org
>>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-
>> help@incubator.apache.org
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [DRLVM] Build problems - Stl.h
Posted by Robin Garner <ro...@anu.edu.au>.
Geir Magnusson Jr. wrote:
>
> On Sep 22, 2006, at 12:02 AM, Robin Garner wrote:
>
>> Geir Magnusson Jr. wrote:
>>
>>> IIRC, there's something broken about us and gcc 4.
>>> Go back to gcc 3.4.6 or so...
>>> geir
>>
>> OK, so I worked out I do this by editing lnx.properties and changing
>>
>> # Default C compiler, either icc or gcc
>> -CXX=gcc
>> +CXX=gcc-3.4
>
> Ew... c'mon....
>
> $ ln -s /usr/bin/gcc-3.4 gcc
> $ ln -s /usr/bin/g++-3.4 g++
Eurghh. Yes I know this would do, but I was kind of hoping for
something resembling elegant :)
>
>>
>>> common_extra:
>>> BUILD FAILED
>>> /home/robing/harmony/drlvm/build/make/build.xml:404: The following
>>> error occurred while executing this line:
>>> /home/robing/harmony/drlvm/build/make/build.xml:411: The following
>>> error occurred while executing this line:
>>> /home/robing/harmony/drlvm/build/make/build_component.xml:72: The
>>> following error occurred while executing this line:
>>> /home/robing/harmony/drlvm/build/lnx_ia32_gcc-3.4_debug/semis/build/targets/common_extra.xml:8:
>>> gcc-3.4 is not a legal value for this attribute
>>
>> what next ? :)
>>
>
> See above :) Hopefully you are getting the idea that our build for
> DRLVM is very fragile (and need to be replaced). Don't taunt the build....
>
> geir
>
>> Thanks,
>> Robin
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [DRLVM] Build problems - Stl.h
Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
On Sep 22, 2006, at 12:02 AM, Robin Garner wrote:
> Geir Magnusson Jr. wrote:
>
>> IIRC, there's something broken about us and gcc 4.
>> Go back to gcc 3.4.6 or so...
>> geir
>
> OK, so I worked out I do this by editing lnx.properties and changing
>
> # Default C compiler, either icc or gcc
> -CXX=gcc
> +CXX=gcc-3.4
Ew... c'mon....
$ ln -s /usr/bin/gcc-3.4 gcc
$ ln -s /usr/bin/g++-3.4 g++
>
>> common_extra:
>> BUILD FAILED
>> /home/robing/harmony/drlvm/build/make/build.xml:404: The following
>> error occurred while executing this line:
>> /home/robing/harmony/drlvm/build/make/build.xml:411: The following
>> error occurred while executing this line:
>> /home/robing/harmony/drlvm/build/make/build_component.xml:72: The
>> following error occurred while executing this line:
>> /home/robing/harmony/drlvm/build/lnx_ia32_gcc-3.4_debug/semis/
>> build/targets/common_extra.xml:8: gcc-3.4 is not a legal value for
>> this attribute
>
> what next ? :)
>
See above :) Hopefully you are getting the idea that our build for
DRLVM is very fragile (and need to be replaced). Don't taunt the
build....
geir
> Thanks,
> Robin
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [DRLVM] Build problems - Stl.h
Posted by Robin Garner <ro...@anu.edu.au>.
Geir Magnusson Jr. wrote:
>
> IIRC, there's something broken about us and gcc 4.
>
> Go back to gcc 3.4.6 or so...
>
> geir
OK, so I worked out I do this by editing lnx.properties and changing
# Default C compiler, either icc or gcc
-CXX=gcc
+CXX=gcc-3.4
> common_extra:
>
> BUILD FAILED
> /home/robing/harmony/drlvm/build/make/build.xml:404: The following error occurred while executing this line:
> /home/robing/harmony/drlvm/build/make/build.xml:411: The following error occurred while executing this line:
> /home/robing/harmony/drlvm/build/make/build_component.xml:72: The following error occurred while executing this line:
> /home/robing/harmony/drlvm/build/lnx_ia32_gcc-3.4_debug/semis/build/targets/common_extra.xml:8: gcc-3.4 is not a legal value for this attribute
>
what next ? :)
Thanks,
Robin
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [DRLVM] Build problems - Stl.h
Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
On Sep 21, 2006, at 11:04 PM, Robin Garner wrote:
> Thanks to everyone who assisted before ... the build is
> progressing, but now fails with
>
>> [cc] /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c
>> ++/4.0.3/bits/stl_tree.h:36 7: error: no matching function for
>> call to ‘Jitrino::StlMMAllocator<Jitrino::Opnd*>::construct
>> (std::pair<Jitrino::Opnd* const, Jitrino::Opnd*>*, const
>> std::pair<Jitrino::Opnd* const, Jitri no::Opnd*>&)’
>> [cc] /home/robing/harmony/drlvm/vm/jitrino/src/shared/Stl.h:
>> 123: note: candidates are: void
>> Jitrino::StlMMAllocator<T>::construct(T*, const T&) [with T =
>> Jitrino::Opnd*]
>> BUILD FAILED
>> /home/robing/harmony/drlvm/build/make/build.xml:404: The following
>> error occurred while execut ing this line:
>> /home/robing/harmony/drlvm/build/make/build.xml:411: The following
>> error occurred while execut ing this line:
>> /home/robing/harmony/drlvm/build/make/build_component.xml:72: The
>> following error occurred whi le executing this line:
>> /home/robing/harmony/drlvm/build/lnx_ia32_gcc_debug/semis/build/
>> targets/build.native.xml:75: g cc failed with return code 1
>
IIRC, there's something broken about us and gcc 4.
Go back to gcc 3.4.6 or so...
geir
> Thanks in advance,
> Robin
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [DRLVM] Build problems - Stl.h
Posted by Robin Garner <ro...@anu.edu.au>.
Egor Pasko wrote:
> On the 0x1EC day of Apache Harmony Robin Garner wrote:
>> Thanks to everyone who assisted before ... the build is progressing,
>> but now fails with
>>
>>> [cc] /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_tree.h:36 7: error: no matching function for call to Jitrino::StlMMAllocator<Jitrino::Opnd*>::construct (std::pair<Jitrino::Opnd* const, Jitrino::Opnd*>*, const std::pair<Jitrino::Opnd* const, Jitri no::Opnd*>&)
>>> [cc] /home/robing/harmony/drlvm/vm/jitrino/src/shared/Stl.h:123: note: candidates are: void Jitrino::StlMMAllocator<T>::construct(T*, const T&) [with T = Jitrino::Opnd*]
>>> BUILD FAILED
>>> /home/robing/harmony/drlvm/build/make/build.xml:404: The following error occurred while execut ing this line:
>>> /home/robing/harmony/drlvm/build/make/build.xml:411: The following error occurred while execut ing this line:
>>> /home/robing/harmony/drlvm/build/make/build_component.xml:72: The following error occurred whi le executing this line:
>>> /home/robing/harmony/drlvm/build/lnx_ia32_gcc_debug/semis/build/targets/build.native.xml:75: g cc failed with return code 1
>
> AFAIR, HARMONY-443 solved this problem. I am afraid, not all patches
> were applied from the attachments. Though, you can find many solutions
> there
>
> BTW, I would vote for enabling gcc 4.x build ASAP
>
+1
I've now built successfully with gcc 3.4, which serves my purposes for now.
Thanks to everyone for the assistance.
cheers
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [DRLVM] Build problems - Stl.h
Posted by Egor Pasko <eg...@gmail.com>.
On the 0x1EC day of Apache Harmony Robin Garner wrote:
> Thanks to everyone who assisted before ... the build is progressing,
> but now fails with
>
> > [cc] /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_tree.h:36 7: error: no matching function for call to Jitrino::StlMMAllocator<Jitrino::Opnd*>::construct (std::pair<Jitrino::Opnd* const, Jitrino::Opnd*>*, const std::pair<Jitrino::Opnd* const, Jitri no::Opnd*>&)
> > [cc] /home/robing/harmony/drlvm/vm/jitrino/src/shared/Stl.h:123: note: candidates are: void Jitrino::StlMMAllocator<T>::construct(T*, const T&) [with T = Jitrino::Opnd*]
> > BUILD FAILED
> > /home/robing/harmony/drlvm/build/make/build.xml:404: The following error occurred while execut ing this line:
> > /home/robing/harmony/drlvm/build/make/build.xml:411: The following error occurred while execut ing this line:
> > /home/robing/harmony/drlvm/build/make/build_component.xml:72: The following error occurred whi le executing this line:
> > /home/robing/harmony/drlvm/build/lnx_ia32_gcc_debug/semis/build/targets/build.native.xml:75: g cc failed with return code 1
AFAIR, HARMONY-443 solved this problem. I am afraid, not all patches
were applied from the attachments. Though, you can find many solutions
there
BTW, I would vote for enabling gcc 4.x build ASAP
--
Egor Pasko, Intel Managed Runtime Division
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org