a04d Base gcc on FreeBSD 9.0 RELEASE powerpc - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Non-i386 / amd64 > Other Architectures

Other Architectures FreeBSD on Alpha, PC98, PowerPC or Sparc64. This forum is also for questions related to porting FreeBSD to new architectures.

Reply
 
Thread Tools Display Modes
  #1  
Old June 14th, 2012, 17:15
kpa kpa is online now
Giant Locked
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 2,007
Thanks: 44
Thanked 466 Times in 396 Posts
Default Base gcc on FreeBSD 9.0 RELEASE powerpc

I've found at least one port that does not compile correctly with the base system gcc(1) if the code is compiled with optimizations on (at least -O or higher) , the port is sysutils/smartmontools. If compiled with optimizations on, smartctl will segfault as soon as you query a device. Turning off optimizations with -O0 fixes the problem, also compiling the port with newer lang/gcc46 with default optimizations results in working binary.

Anyone else seen anything similar on other ports?
Reply With Quote
The Following 2 Users Say Thank You to kpa For This Useful Post:
sossego (July 7th, 2012), tingo (July 20th, 2012)
  #2  
Old July 7th, 2012, 00:20
sossego's Avatar
sossego sossego is offline
Member
 
Join Date: Mar 2009
Location: qualquer na ontem da amanhã
Posts: 962
Thanks: 109
Thanked 66 Times in 51 Posts
Default

Please add this information to http://forums.freebsd.org/showthread.php?t=13827 while also submitting to the FreeBSD PPC mailing list and the respective port for a fix.
My apologies for the late reply.

There is a greater chance of more errors appearing since the POWER(PC) user base is smaller on FreeBSD than:
1. The PPC user base for Linux. They have IBM, RedHat, Debian, and Gentoo to help while there is a small but very active user base on FreeBSD.
2. The standard- i386/amd64/pc98- user base on FreeBSD.
__________________
Smiles and laughter are the medicines for tears and sadness.

Um humano, sou eu com culpa e dificuldades.

Stay a child with a child's view of the world and life is worth more every moment you live it.
Reply With Quote
  #3  
Old July 20th, 2012, 22:58
tingo tingo is offline
Member
 
Join Date: Nov 2008
Location: Oslo, Norway
Posts: 825
Thanks: 134
Thanked 82 Times in 68 Posts
Default

@kpa: is there a PR for this? If not, perhaps you should submit one?
__________________
Torfinn
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
9.0-RELEASE powerpc, freebsd-update fails tomc Other Architectures 2 April 3rd, 2012 16:19
[Solved] No updates for 9.0-RELEASE base? recluce Installing & Upgrading 4 March 29th, 2012 07:36
FreeBSD PowerPC 9.0 available sossego Other Architectures 9 May 2nd, 2010 14:54
How to upgrade FreeBSD on powerpc quux_corge Other Architectures 4 November 17th, 2009 11:12
FreeBSD + IBM PowerPC = ? COBRA Other Architectures 4 March 24th, 2009 12:31


All times are GMT +1. The time now is 00:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0