rsb for arm
Matthew Clark
linux.matthew at gmail.com
Thu Mar 24 14:47:19 UTC 2016
Then, yeah. I had that problem. It's blowing up because in gcc v5,
the GCC version macro is dorked up somehow, so it's trying to define
those functions twice, which will naturally blow up, -Werror or no.
You'll have to comment those functions out in either toplev.h or
toplev.c (do it for whichever presumes the GCC version as being <
3.x), then hack up the doit script in your build folder so it doesn't
delete the old contents and extract new ones. (A proper patch would
have fixed the GCC version macros, etc, but I was in quick-n-dirty
mode)
Matt
On Thu, Mar 24, 2016 at 10:16 AM, D Peter Siddons <siddons at bnl.gov> wrote:
> Presumably so. It is Ubuntu 15.10.
> Pete.
>
>
>
> On 03/24/2016 10:07 AM, Joel Sherrill wrote:
>
> Is it being built with -Werror?
>
> FWIW I don't see gcc 5.2.1 as an official release. I see 5.2 and 5.3. Is
> that
> other digit from the distribution?
>
> --joel
>
> On Thu, Mar 24, 2016 at 8:45 AM, D Peter Siddons <siddons at bnl.gov> wrote:
>>
>> Hi Matt,
>> I'm running gcc 5.2.1.
>> Pete.
>>
>>
>>
>> On 03/24/2016 09:36 AM, Matthew Clark wrote:
>>>
>>> I ran into this problem myself. Basically, the macro that determines
>>> the GCC version isn't working correctly, so it's defining those
>>> functions twice. Are you running GCC 5.x? I had to comment out the
>>> code for if the GCC version < 3.0. It's kind of a pain because it
>>> means you'll bludgeon the build process as re-running the
>>> source-builder process will just blow out the old build folder,
>>> extract the code fresh and you'll have the same problem.
>>>
>>> Matt
>>>
>>> On Thu, Mar 17, 2016 at 9:55 AM, D Peter Siddons <siddons at bnl.gov> wrote:
>>>>
>>>> Hi Chris,
>>>> I searched l-arm.txt for ": error" and found the lines in the attached
>>>> file.
>>>> Hope that helps.
>>>>
>>>> I remember seeing something some time ago with Ubuntu. They link
>>>> /bin/sh
>>>> to /bin/dash instead of /bin/bash. I'm nervous about changing that in
>>>> case
>>>> the system relies on dash-like behaviour, but I do remember that giving
>>>> mysterious problems once.
>>>>
>>>> Pete.
>>>>
>>>>
>>>> On 03/16/2016 10:14 PM, Chris Johns wrote:
>>>>>
>>>>> On 17/03/2016 12:42, D Peter Siddons wrote:
>>>>>>
>>>>>> Recently upgraded from 15.04 to 15.10.
>>>>>
>>>>>
>>>>> Ok.
>>>>>
>>>>>> Report attached.
>>>>>
>>>>>
>>>>> Hmm the error was before the report log. I never expected these level
>>>>> of
>>>>> warnings but building old compilers with newer ones can do this.
>>>>>
>>>>> I will try and recreate the build.
>>>>>
>>>>> Any chance you could peak in the log file and cut and paste the error?
>>>>>
>>>>> Thanks
>>>>> Chris
>>>>>
>>>> --
>>>> D. Peter Siddons
>>>> Detector Development Group Leader
>>>> Bldg. 535B
>>>> Photon Sciences Directorate,
>>>> Brookhaven National Laboratory
>>>> Upton, NY 11973
>>>>
>>>> email: siddons at bnl.gov
>>>> Phone: (631) 344-2738
>>>>
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users at rtems.org
>>>> http://lists.rtems.org/mailman/listinfo/users
>>
>>
>> --
>> D. Peter Siddons
>> Detector Development Group Leader
>> Bldg. 535B
>> Photon Sciences Directorate,
>> Brookhaven National Laboratory
>> Upton, NY 11973
>>
>> email: siddons at bnl.gov
>> Phone: (631) 344-2738
>>
>> _______________________________________________
>> users mailing list
>> users at rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>
>
>
> --
> D. Peter Siddons
> Detector Development Group Leader
> Bldg. 535B
> Photon Sciences Directorate,
> Brookhaven National Laboratory
> Upton, NY 11973
>
> email: siddons at bnl.gov
> Phone: (631) 344-2738
More information about the users
mailing list