On Thu, 27 Apr 2017, Jung-uk Kim wrote:
>>>>>> I found the problem,  but I do not know how to resolve this.  When you
>>>>>> install the GCC compiler from the PKG repository it appears to create a
>>>>>> modified set of include files from the system (default?) include files
>>>>>> (/usr/include).  However, when the modified /usr/include/sys/types.h
>>>>>> file is created, the typedef for vm_ooffset_t is modified,  and there is
>>>>>> no reference to __vm_ooffset_t that the compiler can resolve.
>>>>>>
>>>>>> < typedef       __int64_t       vm_ooffset_t;
>>>>>> ---
>>>>>> > typedef       __vm_ooffset_t  vm_ooffset_t;
>>>>> ...
>>>>> You have to rebuild lang/gcc from the ports tree to fix this problem.
>>>>>
>>>>> https://lists.freebsd.org/pipermail/freebsd-current/2017-February/064937.html
>>>> Does this mean that the GCC port/package needs to be updated?  If so, 
>>>> should I file a PR report on this issue?
>>>> I (temporarily) fixed this problem by hand editting the modified types.h
>>>> file and things seem to work.
>>> I already wrote a patch (attached). :-)
> If the maintainer (gerald) approves.  CC'd.

Thanks for bringing this to my attention.  

Can you please help me understand why this is necessary?  If the
port/package is builts from scratch, does this trigger the problem?

Or is this only a question of an old package running on that new
version of FreeBSD after these changes?

(I am wondering whether just forcing a rebuild of that package is
not going to have the same effect?)

Gerald
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to