Or if you really want gcc. look at the gcc patches freebsd imported in
last few weeks before the switch to GPL3. This way, they can also be
applied to gcc in base. FreeBSD has patches on top of 4.2.1, same as
ours.

On Wed, Apr 6, 2011 at 5:36 AM, Stuart Henderson <[email protected]> wrote:
> the gcc 4.3 port is not really usable; I would suggest either
> trying to track down what in 4.3 fixes it and see if it can be
> re-implemented for 4.2 (but not using a direct patch as 4.3
> is GPLv3), or trying it with CLang
>
>
>
> On 2011/04/06 12:22, Rafael Sadowski wrote:
>> On Mon Mar 28, 2011 at 05:17:25PM +0200, Jasper Lievisse Adriaanse wrote:
>> > Hi,
>> >
>> > I didn't look any further at this anymore...feel free to pick it up though.
>> >
>> > --
>> > Cheers,
>> > Jasper
>> >
>> > "Capable, generous men do not create victims, they nurture them."
>>
>> Hi Jasper, Hi @ports,
>>
>> I'm working on OpenCV 2.2 port, but this version needs gcc 4.3. How can
>> I build a port with gcc 4.3. Any advice or example port.
>>
>> GCC4.2 will seg:
>>
>> [ 39%] Building CXX object 
>> modules/core/CMakeFiles/opencv_core.dir/src/alloc.o
>> cd /usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core && /usr/bin/c++   
>> -Dopencv_core_EXPORTS -DHAVE_CONFIG_H -DCVAPI_EXPORTS -O2 -pipe    -Wall 
>> -pthread -ffunction-sections  -DNDEBUG  -fomit-frame-pointer -DNDEBUG  -fPIC 
>> -I/usr/local/lib/python2.6/site-packages/numpy/core/include 
>> -I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/. 
>> -I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0 
>> -I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/include 
>> -I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/include/opencv 
>> -I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core/../../3rdparty/include
>>  -I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core/include 
>> -I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core/src 
>> -I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core   -D 
>> PYTHON_USE_NUMPY=1  -include 
>> /usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core/precomp.hpp 
>> -Winvalid-pch  -o CMakeFiles/opencv_core.dir/src/alloc.o -c 
>> /usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core/src/alloc.cpp
>> <command-line>:0: internal compiler error: Segmentation fault
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>> *** Error code 1
>>
>> best regards
>>
>>       Rafael Sadowski
>>
>> --
>> http://www.sizeofvoid.org - [email protected]
>> XMPP: [email protected]
>> Key fingerprint: BDDD 91E9 28CB 3A52 3E99  61B0 C359 2691 BAC6 A3B1
>>
>
>

Reply via email to