Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2016 09:57:57 +0100
From:      Andre Albsmeier <andre@fbsd.a.e4m.org>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        Andre Albsmeier <andre@fbsd.a.e4m.org>, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r408554 - head/devel/msp430-debug-stack
Message-ID:  <20160228085757.GA4949@voyager>
In-Reply-To: <20160227143922.GA3061@hades.panopticon>
References:  <20160225192853.GA54682@gate> <20160226155015.GB22858@hades.panopticon> <20160227142057.GA1187@voyager> <20160227143922.GA3061@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27-Feb-2016 at 17:39:23 +0300, Dmitry Marakasov wrote:
> * Andre Albsmeier (andre@fbsd.a.e4m.org) wrote:
> 
> > > > FWIW, i have just upgraded gcc48 and its dependencies to the
> > > > latest versions in ports and libmsp430.so still compiles...
> > > 
> > > I've tried on latest 9-stable and it still fails, it also fails on pkg
> > > cluster, so it's broken. If you can find the exact cause of why it
> > > builds for you it may be fixed.
> > 
> > No idea how to find out why something _works_...
> 
> Make it break first as it does in clean environment. I'd suspect
> custom CPUTYPE or CFLAGS or gcc port options.

Hmm, first I disabled my make.conf. In the diff of the output of
my system compared to the one of 

http://beefy3.nyi.freebsd.org/data/93i386-quarterly/409707/logs/errors/msp430-debug-stack-3.05.01.01_2.log

we can see that all gcc calls are the same:

--- bad	2016-02-28 09:36:23.215161000 +0100
+++ ok	2016-02-28 09:36:36.478267000 +0100
@@ -1,6 +1,5 @@
 gmake -C ./ThirdParty/BSL430_DLL
-gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/msp430-debug-stack/work/MSPDebugStack_OS_Package/ThirdParty/BSL430_DLL'
+gmake[1]: Entering directory '/tmp/p/w/MSPDebugStack_OS_Package/ThirdParty/BSL430_DLL'
 g++48 -x c++-header -c -o BSL430_DLL/pch.h.gch BSL430_DLL/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I../include -I./BSL430_DLL -I./BSL430_DLL/Utility_Classes -I./BSL430_DLL/Physical_Interfaces -I./BSL430_DLL/Packet_Handlers -I./BSL430_DLL/Connections -I/usr/local/include -I/usr/local/include/hidapi -DUNIX -DNDEBUG
 g++48 -c -o BSL430_DLL/MSPBSL_Factory.o BSL430_DLL/MSPBSL_Factory.cpp -include ./BSL430_DLL/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I../include -I./BSL430_DLL -I./BSL430_DLL/Utility_Classes -I./BSL430_DLL/Physical_Interfaces -I./BSL430_DLL/Packet_Handlers -I./BSL430_DLL/Connections -I/usr/local/include -I/usr/local/include/hidapi -DUNIX -DNDEBUG
-
-g++48: internal compiler error: Segmentation fault: 11 (program cc1plus)
+g++48 -c -o BSL430_DLL/Connections/MSPBSL_Connection5xxUSB.o BSL430_DLL/Connections/MSPBSL_Connection5xxUSB.cpp -include ./BSL430_DLL/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I../include -I./BSL430_DLL -I./BSL430_DLL/Utility_Classes -I./BSL430_DLL/Physical_Interfaces -I./BSL430_DLL/Packet_Handlers -I./BSL430_DLL/Connections -I/usr/local/include -I/usr/local/include/hidapi -DUNIX -DNDEBUG
...

Then I fetched all the 93i386-quarterly packages of binutils, boost, gcc and so on
and it still works.

	-Andre



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160228085757.GA4949>