svn commit: r408554 - head/devel/msp430-debug-stack

Andre Albsmeier andre at fbsd.a.e4m.org
Sun Feb 28 08:58:00 UTC 2016


On Sat, 27-Feb-2016 at 17:39:23 +0300, Dmitry Marakasov wrote:
> * Andre Albsmeier (andre at 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


More information about the svn-ports-head mailing list