[Bug 209528] net/opensips: 2.1.2 fails to build on sparc64 10.3-STABLE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 15 19:12:03 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209528

--- Comment #1 from Euan Thoms <euan at potensol.com> ---
(In reply to Dima Veselov from comment #0)

That is strange. I don't remember making many changes to the port between 2.1.0
and 2.1.2. Certainly nothing that should effect the building of net_udp.

Please try again with the latest port version once it's been committed (2.1.3).

I suspect it only needs a small patch to include a FreeBSD specific header for
a data-type which differs between x86 and SPARC64. It seems to be a casting
issue, so perhaps a simple explicit cast to the correct data type will fix it.
I've noticed a lot of bad code in this regard on other projects, normally it
just creates a compiler warning. Bad data type casting can lead to bugs and
sometimes not, depending on the runtime conditions. But perhaps one platform is
more strict about it, or handles the data types slightly differently.

The question is, why did it appear in a minor point release?

It's difficult for me to work on this, I don't have access to any SPARC64
hardware.

Dima, do you have any experience with 'C' programming?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list