From owner-freebsd-ppc@freebsd.org Sun Nov 6 20:40:04 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A60BBC33676 for ; Sun, 6 Nov 2016 20:40:04 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D74E878 for ; Sun, 6 Nov 2016 20:40:04 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-it0-x233.google.com with SMTP id m138so61391625itm.1 for ; Sun, 06 Nov 2016 12:40:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1Z/KdZAlan2ACg5Vpv4nflgAcYTMawYPKfA5QDQUUis=; b=PKK6g9s3mGZu+FZjQlaHBF/Qo8iFJsvZWfqDtxaAhg0LL4bmKzsWU682hbOU0OAInh WDupGxYVvA+HNGII8hbRdRouXA0ULNhE8RqMBB6qsQE1K0wfIryBr4UwHPmuI4DxEh/y UjOB85ZG+mfQV5r3F7rLrp71R6OPK55ccJNYwHf2H0nwaaps1Af+wKERl8JPswIjkWDM OtwieGZGnyUa1TfrsPKnxycjH3rj3WQ20IMJe43A1L0qjSzyqEKg6aNRbtSxuRig7B6k uFdibkFHV0pOUl8+5sJyBIaX+9sLhofd/0x/CyoEJOLdgxfyCGnO2DLPDAfVlbhFlQlV iUvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1Z/KdZAlan2ACg5Vpv4nflgAcYTMawYPKfA5QDQUUis=; b=cDy5g4ZsVgYG+d2gRFRUL1oMXx2+BBxH0ssDg1zxpIFw3b/0Z0Yi/EH5IEpYzo5Ryb 6u0ONPYDu5BGDp9NtBhRtK7hfL0/etqN/gG5mWOKPxtGc3pRcuZciy3GKKoJfBWEXpwx SOwkk+zhRtFDX79JhzIks4kPnXUCsbirx2dLU2FHxfPzJQwL2BKe9VVMjU3DHMwujvMU OYDxk2iSG8yf7LyacyEj7JpPE13mV0/G4QfwKErQEaCug9CeEhYXIZlna3oXcvWssQXs i+1cF7A8CPwgTjqxqoaSISw4IWfTEJzpWfT4AWIvteSHwt+LAfAxeOC57/qXjz8tV+Rp RqIQ== X-Gm-Message-State: ABUngveg0bXc/1aWSBFMBwRr7VsPXINa/AGOBC5wk96Es4wGXLEUW7k1fdrHpuHPkbh7Mg== X-Received: by 10.107.166.145 with SMTP id p139mr4029246ioe.228.1478464803803; Sun, 06 Nov 2016 12:40:03 -0800 (PST) Received: from zhabar.knownspace (50-80-150-234.client.mchsi.com. [50.80.150.234]) by smtp.gmail.com with ESMTPSA id e35sm8878200iod.32.2016.11.06.12.40.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Nov 2016 12:40:03 -0800 (PST) Date: Sun, 6 Nov 2016 14:39:58 -0600 From: Justin Hibbits To: Roger Leigh Cc: FreeBSD PowerPC ML Subject: Re: Installer problems with 11.0-RC3 Message-ID: <20161106143958.099cdd03@zhabar.knownspace> In-Reply-To: <747f3eaa-251c-5740-0755-09bba55a5b04@codelibre.net> References: <725c6225-c7bf-f88f-d8e2-b5f9a02bcfe8@codelibre.net> <20160917184649.35d9a9ab@zhabar.knownspace> <88b054f6-ae0b-dc32-8d54-016964a2cea8@codelibre.net> <747f3eaa-251c-5740-0755-09bba55a5b04@codelibre.net> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; powerpc64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2016 20:40:04 -0000 On Wed, 26 Oct 2016 19:00:13 +0000 Roger Leigh wrote: > On 18/09/2016 09:04, Roger Leigh wrote: > > On 17/09/2016 23:46, Justin Hibbits wrote: > >> On Sat, 17 Sep 2016 23:39:41 +0000 > >> Roger Leigh wrote: > >> > >>> Up until now, my G4 Mac Mini has been running 10.3-RELEASE. > >>> Today, I tried the 11.0-RC3 installer. Two issues noted: > >>> > >>> 1) The colours in the installer are different than the PC > >>> installer. The background is a mid brown with yellow text. An > >>> issue with the console framebuffer? > >>> > >>> 2) It won't boot after the installer finished. > >>> Invalid memory access at %SRR0: 018011f0 %SRR1: 00003030 > >> > >> I just fixed the second issue, which should be going into the next > >> ISO (RC4? Final? Not sure at this point), but the initial commit > >> was to head at r305894, and finally merged to 11.0 (by way of > >> stable/11) in r305904 if you're curious. > > > > Super, thanks. I'll retry this with the next ISO release. > > I got the time to retry with the 11.0-RELEASE ISO, and the above > problem is fixed, but unfortunately then hit a problem I'd previously > seen and posted on the list when testing 11.0-STABLE in > mid-September. The kernel loads and boots correctly, but it hangs at > this point: > > gem0: 10kB RX addr...... > gem0: Ethernet address ....... > cryptosoft0: on nexus0 > > At this point it just sits there with the CPU fan going full tilt. > I'm not sure what exactly the problem is here because I have no means > to debug it that I'm aware of at that point during the boot. Happy > to investigate further if anyone could provide any hints about what I > could do to assist. > > > Regards, > Roger Hi Roger, I just installed the latest FreeBSD-CURRENT snapshot for PowerPC (dated 10/31), and it seems to work just fine, so something was fixed in the kernel or loader between July-ish and now. When I get some time (probably won't be for a while) I'll try to bisect snapshots. If you're willing to test snapshot boots, you can try a -CURRENT snapshot from July, and bisect between then and now to possibly narrow down the fix window. - Justin From owner-freebsd-ppc@freebsd.org Mon Nov 7 18:53:11 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7357AC34860 for ; Mon, 7 Nov 2016 18:53:11 +0000 (UTC) (envelope-from gabriel.diaz@vgtelecomreports.com) Received: from smtp.vgtelecomreports.com (smtp.vgtelecomreports.com [202.0.103.127]) by mx1.freebsd.org (Postfix) with ESMTP id 434ECE1C for ; Mon, 7 Nov 2016 18:53:05 +0000 (UTC) (envelope-from gabriel.diaz@vgtelecomreports.com) X-SmarterMail-Authenticated-As: admin@vgtelecomreports.com DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; d=vgtelecomreports.com; s=smtp; h=received:from:to:message-id:subject:date:mime-version:reply-to :content-type; b=NqI9UanL6MLJ9QP65TZKqcc6mRcplBh6Hjm+BLipQitPi8ax2jHVeOXblMrKOnlu1 iYeQGZp3rHxucxre3OyQRDVns70ZXYPe68K5JOhkEuJYcTzzzD69k9I9LknSH0zrP mGwMZdcEgIVEQDvNhACRfsPQU3FKG0jR8hZgqHMVY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vgtelecomreports.com; s=smtp; h= content-type:reply-to:mime-version:date:subject:message-id:to:from; bh=/GoY/r+M6oL4GIE95EEWDqfhW9NxbCbTiWqqQdZGQCY=; b=Seq9AEYF6LNyOt/1tP7ueXADZyjnHkoFY4FJqhmuOTEJ2PcImV++zxTGTMV8sDcth wSoTJj7SCuU3eoBiPlKUtQKNPouf3a659Jkh+61ZnlUS6vox3F3UGGZtk/5pVMG1t 7VLJ0UVqbgTefjf3eDKcZsZCjNoT3QVrZb4hMKAds= Received: from WIN-ASQ29B6R1EP (WIN-ASQ29B6R1EP [202.0.103.127]) by smtp.vgtelecomreports.com with SMTP; Mon, 7 Nov 2016 15:55:31 +0000 From: Gabriel Diaz To: freebsd-ppc@freebsd.org Message-Id: <20161107155531.1141666547@vgtelecomreports.com> Subject: Automotive Cyber Security Market Report 2016-2021 Date: Mon, 7 Nov 2016 15:55:31 +0000 MIME-Version: 1.0 Reply-To: gabriel.diaz@vgtelecomreports.com Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2016 18:53:11 -0000 Visiongain - Business Report Updates Speak to our consultant now: +44 (0)20 7549 9933 Automotive Cyber Security Market Report 2016-2021 Forecasts by (Hardware, Software, Network, Cloud) Prospects for Connected Car & Vehicle-to-Everything (V2X, V2V, V2I, V2G, V2H, V2P, IN-V) Communication Safety & Security Within The Internet of Things (IoT) Ecosystem The revenue of the automotive cyber security market will exceed $55 million in 2016 Electronic Control Units (ECUs) run our world. Financial services, energy providers, national security, healthcare systems, retailers, transports and private life rely on a global ECU network connecting billions of systems around the world. In 2016, over 45 million cars around the world have some sort of connectivity. Such cars have over 100 million lines of code. The rule of thumb is that the more complex a system is, the easier it is to hack it. With V2X and more accurate navigation, infotainment, interfaces to portable devices, as well as ADAS applications, connected cars are becoming more vulnerable to cyber attacks. Consequently, connected cars are more eye-catching to hackers, scammers, cyber criminals and even terrorists. In the event of a cyber attack lives and company reputations are at stake. In light of recent proof of concept car hackings car manufacturers, cyber security companies and regulators around the world are working on automotive cyber security. Many start-ups are emerging and traditional cyber security companies are adapting existing solutions to meet automotive needs. Automotive cyber security is a novel market for the automotive industry. Many factors can influence the growth dynamics, however despite any concerns this market will experience immense growth. We estimate that the global market for automotive cyber security will exceed $55 million in 2016 and will continue expanding with double digit growth. Report Scope • Expert opinions from key-opinion leaders in the market - Argus Cyber Security - Trillium Inc. • 207 tables, charts and graphs analysing the Automotive Cyber Security market • Overview of the global Automotive Cyber Security market status in 2016 • Analysis of the solutions and applications for car cyber security • Overview of the role of standards and regulations • Global Automotive Cyber Security revenue forecast between 2016 and 2021 • Automotive Cyber Security submarket revenues between 2016 and 2021 - Hardware cyber security - Software cyber security - Network cyber security - Cloud cyber security • Leading national market revenue forecast between 2016 and 2021 - China Automotive Cyber Security Market 2016-2021 - France Automotive Cyber Security Market 2016-2021 - Germany Cyber Security Market 2016-2021 - Israel Automotive Cyber Security Market 2016-2021 - Japan Automotive Cyber Security Market 2016-2021 - Russia Automotive Cyber Security Market 2016-2021 - South Korea Automotive Cyber Security Market 2016-2021 - UK Automotive Cyber Security Market 2016-2021 - US Automotive Cyber Security Market 2016-2021 How to purchase our reports Select the license from the list below and send your details Licensing options: Single User GBP 1999 Dept. (5 Users) GBP 2999 Site GBP 4999 Global GBP 6999 For more information and orders please contact gabriel.diaz@vgtelecomreports.com Table of Contents - Automotive Cyber Security Market Report 2016-2021 1. Report Overview 2. Introduction to Automotive Cyber Security Market 2.1. Understanding the Vehicle-based Cyber Attack 2.1.1. Types of Vehicle Connectivity 2.1.2. Attack Surface 2.1.3. Who and Why Hacks Cars? 2.1.4. Most Important Mechanisms of Car Cyber Attacks 2.1.5. Stage of Cyber Attacks 2.2. List of Cars with Vulnerabilities 2.3. Media Coverage of Car Hacking 2.4. Government Regulations in Automotive Cyber Security by Region 2.4.1. US Regulations Overview 2.4.2. European Regulations Overview 2.4.3. Chinese Regulations Overview 2.4.4. Russian Regulations Overview 2.4.5. Brazil Regulations Overview 2.5. Automotive Cyber Security Submarkets Definition 2.5.1. Hardware Security 2.5.2. Software Security 2.5.3. Network Security 2.5.4. Cloud Security 3. Global Automotive Cyber Security Market 2016-2021 3.1. Global Automotive Cyber Security Market Forecast 2016-2021 3.2. Regional Automotive Cyber Security Market Forecast 2016-2021 3.3. Regional Automotive Cyber Security Market Share Breakdowns 2016-2021 3.4. Global Automotive Cyber Security Drivers & Restraints 2016 4. Global Automotive Cyber Security Submarket Forecast 2016-2021 4.1. Global Hardware Cyber Security Submarket Forecast 2016-2021 4.2. Global Software Cyber Security Submarket Forecast 2016-2021 4.3. Global Network Cyber Security Submarket Forecast 2016-2021 4.4. Global Cloud Cyber Security Submarket Forecast 2016-2021 5. Leading 9 National Automotive Cyber Security Markets Forecast 2016-2021 5.1. Leading 9 National Automotive Cyber Security Markets Share Forecast 2016-2021 5.2. China Automotive Cyber Security Market 2016-2021 5.2.1. China Country Profile 5.2.2. China Automotive Cyber Security Market Forecast 2016-2021 5.2.3. Cyber Security in China 5.2.4. Automotive Cyber Security in China 5.2.5. China Automotive Cyber Security Market Drivers & Restraints 5.3. France Automotive Cyber Security Market 2016-2021 5.3.1. France Country Profile 5.3.2. France Automotive Cyber Security Market Forecast 2016-2021 5.3.3. Cyber Security in France 5.3.4. French Views on Automotive Cyber Security 5.3.5. France Automotive Cyber Security Market Drivers and Restraints 5.4. Israel Automotive Cyber Security Market 2016-2021 5.4.1. Israel Country Profile 5.4.2. Israel Automotive Cyber Security Market Forecast 2016-2021 5.4.3. Israel’s Cyber Security 5.4.4. Automotive Cyber Security in Israel 5.4.5. Israel Automotive Cyber Security Market Drivers and Restrains 5.5. Japan Automotive Cyber Security Market 2016-2021 5.5.1. Japan Country Profile 5.5.2. Japan Automotive Cyber Security Market Forecast 2016-2021 5.5.3. Cyber Security in Japan 5.5.4. Automotive Cyber Security in Japan 5.5.5. Japan Automotive Cyber Security Market Drivers and Restraints 5.6. Russia Automotive Cyber Security Market 2016-2021 5.6.1. Russia Country Profile 5.6.2. Russia Automotive Cyber Security Market Forecast 2016-2021 5.6.3. Cyber Security in Russia 5.6.4. Automotive Cyber Security in Russia 5.6.5. Russia Automotive Cyber Security Market Drivers and Restraints 5.7. Germany Cyber Security Market 2016-2021 5.7.1. Germany Country Profile 5.7.2. Germany Automotive Cyber Security Market Forecast 2016-2021 5.7.3. Cyber Security in Germany 5.7.4. Automotive Cyber Security in Germany 5.7.5. Germany Automotive Cyber Security Market Drivers and Restraints 5.8. South Korea Automotive Cyber Security Market 2016-2021 5.8.1. South Korea Country Profile 5.8.2. S. Korea Automotive Cyber Security Market Forecast 2016-2021 5.8.3. Cyber Security in South Korea 5.8.4. South Korean Automotive Cyber Security 5.8.5. South Korea Automotive Cyber Security Market Drivers and Restraints 5.9. US Automotive Cyber Security Market 2016-2021 5.9.1. US Country Profile 5.9.2. US Automotive Cyber Security Market Forecast 2016-2021 5.9.3. Cyber Security in the US 5.9.4. US Automotive Cyber Security 5.9.5. US Automotive Cyber Security Market Drivers and Restraints 5.10. UK Automotive Cyber Security Market 2016-2021 5.10.1. UK Country Profile 5.10.2. UK Automotive Cyber Security Market Forecast 2016-2021 5.10.3. Cyber Security in the UK 5.10.4. UK’s Automotive Cyber Security 5.10.5. UK Automotive Cyber Security market Drivers and Restraints 6. Global Automotive Cyber Security Market SWOT Analysis 7. Experts’ Opinion 7.1. Argus Cyber Security 7.1.1. Argus Cyber Security’s Presence in the Automotive Cyber Security Market 7.1.2. Argus on Automotive Cyber Security Market Dynamics 7.1.3. Argus’ View on Effects of Market Regulations 7.1.4. Argus on What Is Important to Customers 7.1.5. Argus on Market Drivers in Automotive Cyber Security 7.1.6. Argus on Challenges and Opportunities in Automotive Cyber Security 7.2. Trillium Inc. 7.2.1. Trillium Presence in Automotive Cyber Security 7.2.2. Trillium on Automotive Cyber Security Market Dynamics 7.2.3. Trillium’s View on Effects of Market Regulations 7.2.4. Trillium on What Is Important to Customers 7.2.5. Important Factors In Automotive Cyber Security 7.2.6. Trillium on Market Drivers in Automotive Cyber Security 8. Leading Automotive Cyber Security Companies 8.1. Cisco Systems 8.1.1. Cisco’s Role in Cyber Security 8.1.2. Cisco Total Company Sales 2008-2015 8.1.3. Cisco Net Profit 2010-2015 8.1.4. Cisco Cost of Research & Development 2010-2015 8.1.5. Cisco Sales by Segment of Business 2010-2015 8.1.6. Cisco Sales by Region 8.1.7. Cisco Organisational Structure and Number of Employees 8.1.8. Cisco M&As 2013-2015 8.1.9. Cisco’s Role in Automotive Cyber Security 8.2. Intel Corporation 8.2.1. Intel Corporation’s Role in the Cyber Security Market 8.2.2. Intel Corporation Sales 2008-2015 8.2.3. Intel Corporation Net Profit 2010-2015 8.2.4. Intel Corporation Cost of Research & Development 2010-2015 8.2.5. Intel Corporation Sales by Segment of Business 2013-2015 8.2.6. Intel Corporation Sales by Geographical Location 8.2.7. Intel Corporation No. of Employees 8.2.8. Intel Corporation Acquisitions Activity 8.2.9. Intel Corporation’s Role in the Automotive Cyber Security Market 8.3. Symantec Corporation 8.3.1. Symantec’s Role in Cyber Security 8.3.2. Symantec Total Company Sales 8.3.3. Symantec Net Profit 2010-2015 8.3.4. Symantec Cost of R&D 2010-2015 8.3.5. Symantec Sales by Business Segment 2014-2015 8.3.6. Symantec Sales by Region 2008-2015 8.3.7. Symantec Organisational Structure and Number of Employees 8.3.8. Symantec Mergers & Acquisitions Activity 8.3.9. Symantec’s Role in the Automotive Cyber Security Market 8.4. International Business Machines (IBM) 8.4.1. IBM’s Role in Cyber Security 8.4.2. IBM Total Company Sales 2008-2015 8.4.3. IBM Net Profit 2010-2015 8.4.4. IBM Cost of R&D 2010-2015 8.4.5. IBM Sales by Segment of Business 2010-2015 8.4.6. IBM Sales by Geographic Location 2010-2015 8.4.7. IBM Organisational Structure and Number of Employees 8.4.8. IBM Acquisitions Activity 8.4.9. IBM’s Role in Automotive Cyber Security 8.5. Harman International 8.5.1. Harman’s Role in the Automotive Industry 8.5.2. Harman Total Company Sales 2011-2015 8.5.3. Harman Net Income 2011-2015 8.5.4. Harman Cost of R&D 2012-2015 8.5.5. Harman Sales by Business Segment 2012-2015 8.5.6. Harman Sales by Geographic Location 2012-2015 8.5.7. Harman Organisational Structure and Number of Employees 8.5.8. Harman Acquisitions Activity 8.5.9. Harman’s Role in Automotive Cyber Security 8.6. NXP Semiconductors 8.6.1. NXP’s Role in the Automotive Industry 8.6.2. NXP Total Company Sales 2010-2015 8.6.3. NXP Net Income / Loss 2010-2015 8.6.4. NXP Cost of R&D 2010-2015 8.6.5. NXP Sales by Business Segment 8.6.6. NXP Sales by Geographic Location 2010-2015 8.6.7. NXP Number of Employees 2010-2015 8.6.8. NXP Acquisitions Activity 8.6.9. NXP’s Role in Automotive Cyber Security 8.7. Infineon Technologies AG 8.7.1. Infineon’s Role in the Automotive Industry 8.7.2. Infineon Total Company Sales 2011-2015 8.7.3. Infineon Net Income 2011-2015 8.7.4. Infineon Cost of R&D 2011-2015 8.7.5. Infineon Sales by Business Segment 2011-2015 8.7.6. Infineon Sales by Geographic Location 2011-2015 8.7.7. Infineon Number of Employees 2011-2015 8.7.8. Infineon Acquisitions Activity 8.7.9. Infineon’s Role in Automotive Cyber Security 8.8. Argus Cyber Security 8.8.1. Argus Cyber Security’s Role in Automotive Cyber Security 8.9. Trillium Inc. 8.9.1. Trillium’s Role in Automotive Cyber Security 8.9.2. Trilliums’ Expansion Plans 8.10. Karamba Security 8.10.1. Karamba’s Role in the Automotive Cyber Security Market 8.11. Other Leading Companies in the Automotive Cyber Security Market 9. Conclusions and Predictions 10. Glossary List of Tables Table 2.1 Mechanisms of Car Cyber Attacks (Type, Description) Table 2.2 List of Hackable Cars (Manufacturer, Model, Year Make) Table 2.3 Media Coverage of Car Hacking (Source, Title) Table 2.4 Summary of the SPY Car Act (Cyber Security Standards, Privacy Standards) Table 3.1 Global Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 3.2 Regional Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 3.3 Regional Automotive Cyber Security Market Percentage Change in Market Share 2016-2021 (PP Change) Table 3.4 Global Automotive Cyber Security Market Drivers & Restraints 2016 Table 4.1 Global Automotive Cyber Security Submarket Forecast 2016-2021 (US$, AGR%) Table 4.2 Automotive Cyber Security Submarket Percentage Change in Market Share 2016-2021 (PP Change) Table 4.3 Hardware Cyber Security Submarket Forecast 2016-2021 (US$, AGR %, CAGR %) Table 4.4 Software Cyber Security Submarket Forecast 2016-2021 (US$, AGR %, CAGR %) Table 4.5 Network Cyber Security Submarket Forecast 2016-2021 (US$, AGR %, CAGR %) Table 4.6 Cloud Cyber Security Submarket Forecast 2016-2021 (US$, AGR %, CAGR %) Table 5.1 Leading 9 National Automotive Cyber Security Markets Forecast 2016-2021 (US$, AGR%) Table 5.2 Leading 9 National Automotive Cyber Security Markets CAGR Forecast 2016-2021 (CAGR %) Table 5.3 China Country Profile 2016 (GDP $bn, GDP per Capita, Population mn, Internet users %, Annual online transactions $tn, Car Sales or Registrations mn, Terrorism Index /10, Cyberwellness Index) Table 5.4 China Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 5.5 China Automotive Cyber Security Market Drivers & Restraints 2016 Table 5.6 France Country Profile 2016 (GDP $bn, GDP per Capita $, Population mn, Internet users %, Annual online transactions $bn, Car Sales or Registrations mn, Terrorism Index /10, Cyberwellness Index) Table 5.7 France Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 5.8 France Automotive Cyber Security Market Drivers & Restraints 2016 Table 5.9 Israel Country Profile 2016 (GDP $bn, GDP per Capita $, Population mn, Internet users %, Annual online transactions $bn, Car Sales or Registrations mn, Terrorism Index /10, Cyberwellness Index) Table 5.10 Israel Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 5.11 Israel Automotive Cyber Security Market Drivers & Restraints 2016 Table 5.12 Japan Country Profile 2016 (GDP $bn, GDP per Capita $, Population mn, Internet users %, Annual online transactions $bn, Car Sales or Registrations mn, Terrorism Index /10, Cyberwellness Index) Table 5.13 Japan Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 5.14 Japan’s Proposed Cyber Security and Data Protection Requirements Table 5.15 Functions, Threats and Countermeasure Techniques for in-Vehicle Systems Table 5.16 Japan Automotive Cyber Security Market Drivers & Restraints 2016 Table 5.17 Russia Country Profile 2016 (GDP $bn, GDP per Capita $, Population mn, Internet users %, Annual online transactions $bn, Car Sales or Registrations mn, Terrorism Index /10, Cyberwellness Index) Table 5.18 Russia Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 5.19 Russia Automotive Cyber Security Market Drivers & Restraints 2016 Table 5.20 Germany Country Profile 2016 (GDP $bn, GDP per Capita $, Population mn, Internet users %, Annual online transactions $bn, Car Sales or Registrations mn, Terrorism Index /10, Cyberwellness Index) Table 5.21 Germany Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 5.22 Germany Proposed Requirements for Cyber and Information Security Table 5.23 Germany Automotive Cyber Security Market Drivers & Restraints 2016 Table 5.24 S. Korea Country Profile 2016 (GDP $bn, GDP per Capita $, Population mn, Internet users %, Annual online transactions $bn, Car Sales or Registrations mn, Terrorism Index /10, Cyberwellness Index) Table 5.25 S. Korea Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 5.26 S. Korea Automotive Cyber Security Market Drivers & Restraints 2016 Table 5.27 US Country Profile 2016 (GDP $bn, GDP per Capita $, Population mn, Internet users %, Annual Online Transactions $bn, Car Sales or Registrations mn, Terrorism Index /10, Cyberwellness Index) Table 5.28 US Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 5.29 NHTSA Reports to Support Automotive Cyber Security (Title, Description) Table 5.30 US Automotive Cyber Security Market Drivers & Restraints 2016 Table 5.31 UK Country Profile 2016 (GDP $bn, GDP per Capita $, Population mn, Internet users %, Annual Online Transactions $bn, Car Sales or Registrations mn, Terrorism Index /10, Cyberwellness Index) Table 5.32 UK Automotive Cyber Security Market Forecast 2016-2021 (US$, AGR %, CAGR%) Table 5.33 UK Automotive Cyber Security Market Drivers & Restraints 2016 Table 6.1 Global Automotive Cyber Security Market SWOT Analysis 2016-2021 Table 8.1 Cisco Systems Profile 2016 (CEO, Total Company Sales US$m, Net Profit US$m, HQ, Founded, No. of Employees, IR Contact, Ticker, Website) Table 8.2 Cisco Total Company Sales 2008-2015 (US$m, AGR %) Table 8.3 Cisco Net Profit 2010-2015 (US$m, AGR %) Table 8.4 Cisco Cost of Research & Development 2010-2015 (US$m, AGR %) Table 8.5 Cisco Sales by Segment of Business 2010-2015 (US$m, AGR %) Table 8.6 Cisco Sales by Region 2010-2015 (US$m, AGR %) Table 8.7 Cisco Number of Employees 2012-2015 (No. of Employees, AGR %) Table 8.8 Cisco Acquisitions (Date, Company Involved, Value US$m, Details) Table 8.9 Intel Corporation Profile 2016 (CEO, Total Company Sales US$m, Net Profit US$m, HQ, Founded, No. of Employees, Ticker, Website) Table 8.10 Intel Corporation Total Company Sales 2008-2015 (US$m, AGR %) Table 8.11 Intel Corporation Net Profit 2010-2015 (US$m, AGR %) Table 8.12 Intel Corporation Cost of Research & Development 2010-2015 (US$m, AGR %) Table 8.13 Intel Corporation Sales by Segment of Business 2013-2015 (US$m, AGR %) Table 8.14 Intel Corporation Sales by Geographical Location 2013-2015 (US$m, AGR %) Table 8.15 Intel Corporation Number of Employees 2010-2015 (No. of Employees, AGR %) Table 8.16 Intel Corporation Acquisitions 2007-2015 (Date, Company Involved, Value US$m, Details) Table 8.17 Symantec Corporation Profile 2016 (CEO, Total Company Sales US$m, Net Profit US$m, Net Capital Expenditure US$m, HQ, Founded, IR Contact, No. of Employees, Ticker, Website) Table 8.18 Symantec Total Company Sales 2008-2015 (US$m, AGR %) Table 8.19 Symantec Net Profit 2010-2015 (US$m, AGR %) Table 8.20 Symantec Cost of Research & Development 2010-2015 (US$m, AGR %) Table 8.21 Symantec Sales by Segment of Business 2014-2015 (US$m, AGR %) Table 8.22 Symantec Sales by Region 2008-2015 (US$m, AGR %) Table 8.23 Symantec Number of Employees 2010-2015 (No. of Employees, AGR %) Table 8.24 Symantec Acquisitions 2005-2015 (Date, Company Involved, Value US$m, Details) Table 8.25 Key Features of Symantec Embedded Security: Critical System Protection Table 8.26 Symantec Device Certificate Service (Features, Benefits) Table 8.27 Features of Symantec Anomaly Detection Table 8.28 Symantec Secure Application Service (Features, Benefits) Table 8.29 Full List of Symantec Security Products for Connected Car Market Table 8.30 IBM Profile 2016 (CEO, Total Company Sales US$m, Net Profit US$m, HQ, Founded, No. of Employees, IR Contact, Ticker, Website) Table 8.31 IBM Total Company Sales 2008-2015 (US$m, AGR %) Table 8.32 IBM Net Profit 2010-2015 (US$m, AGR %) Table 8.33 IBM Cost of Research & Development 2010-2015 (US$m, AGR %) Table 8.34 IBM Sales by Segment of Business 2010-2015 (US$m, AGR %) Table 8.35 IBM Sales by Geographical Location 2010-2015 (US$m, AGR %) Table 8.36 IBM Number of Employees 2010-2015 (No. of Employees, AGR %) Table 8.37 IBM Acquisitions (Date, Company Involved, Value US$m, Details) Table 8.38 Features of the Secure Gateway ECU Table 8.39 IBM and G&D End-to-End Solutions Platform for Connected Cars (Component, Description) Table 8.40 Harman International Profile 2016 (CEO, Total Company Sales US$m, Net Profit US$m, HQ, Founded, No. of Employees, Ticker, Website) Table 8.41 Harman Total Company Sales 2011-2015 (US$m, AGR %) Table 8.42 Harman Net Income 2011-2015 (US$m, AGR %) Table 8.43 Harman Cost of R&D 2012-2015 (US$m, AGR %) Table 8.44 Harman Sales by Business Segment 2012-2015 (US$m, AGR %) Table 8.45 Harman Sales by Geographic Location 2012-2015 (US$m, AGR %) Table 8.46 Harman Number of Employees 2012-2015 (No. of Employees, AGR %) Table 8.47 Harman Acquisitions Activity 2011-2016 (Date, Company, Value US$m, Details) Table 8.48 Harman 5+1 Automotive Security Framework (Layer, Description) Table 8.49 Harman Redbend’s Automotive Security Solution (Security type, Description) Table 8.50 TowerSec’s ECUSHIELD Properties (Features, Highlights, Description) Table 8.51 TowerSec’s TCUSHIELD Properties (Features, Highlights, Description) Table 8.52 NXP Semiconductors Profile 2016 (CEO, Total Company Sales US$m, Net Profit US$m, HQ, Founded, No. of Employees, IR Contact, Ticker, Website) Table 8.53 NXP Total Company Sales 2010-2015 (US$m, AGR %) Table 8.54 NXP Net Income / Loss 2010-2015 (US$m) Table 8.55 NXP Cost of R&D 2010-2015 (US$m, AGR %) Table 8.56 NXP Sales by Business Segment 2010-2015 (US$m, AGR %) Table 8.57 NXP Sales by Geographic Location 2010-2015 (US$m, AGR %) Table 8.58 NXP Number of Employees 2010-2015 (US$m, AGR %) Table 8.59 NXP Acquisitions Activity 2010-2015 (Date, Company, Value US$m, Details) Table 8.60 NXP’s 4+1 Layer Security Framework (Layer, Description) Table 8.61 Infineon Technologies AG Profile 2016 (CEO, Total Company Sales US$m, Net Profit US$m, HQ, Founded, No. of Employees, Ticker, Website) Table 8.62 Infineon Total Company Sales 2011-2015 (US$m, AGR %) Table 8.63 Infineon Net Income 2011-2015 (US$m, AGR %) Table 8.64 Infineon Cost of R&D 2011-2015 (US$m, AGR %) Table 8.65 Infineon Sales by Business Segment 2011-2015 (US$m, AGR %) Table 8.66 Infineon Sales by Geographic Location 2011-2015 (US$m, AGR %) Table 8.67 Infineon Number of Employees 2011-2015 (US$m, AGR %) Table 8.68 Infineon Acquisitions Activity 2004-2016 (US$m, AGR %) Table 8.69 Argus In-Vehicle Network Protection Products (In-Vehicle Network Protection Product Name, Description, Features) Table 8.70 Argus ECU Protection Products (ECU Protection Product Name, Description, Features) Table 8.71 Argus Lifespan Protection Products (Lifespan Protection Product Name, Description, Features) Table 8.72 Argus Aftermarket Protection Products (Aftermarket Protection Product Name, Description, Features) Table 8.73 Karamba’s Carwall Solution (Layer, Description) Table 8.74 Other Leading Companies in the Automotive Cyber Security Market (Company Name, Headquarters) List of Figures Figure 1.1 Global Automotive Cyber Security Market Segmentation Overview Figure 2.1 Common Stages of Cyber Attacks Figure 3.1 Global Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 3.2 Automotive Cyber Security Regional Coverage (Region) Figure 3.3 Regional Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 3.4 Regional Automotive Cyber Security Market AGR Forecast 2016-2021(AGR%) Figure 3.5 Regional Automotive Cyber Security Market Percentage Change in Market Share 2016-2021 (% Change) Figure 3.6 Regional Automotive Cyber Security Market Share Forecast 2016 (%) Figure 3.7 Regional Automotive Cyber Security Market Share Forecast 2021 (%) Figure 4.1 Global Automotive Cyber Security Submarket Forecast 2016-2021 (US$mn, AGR%) Figure 4.2 Global Automotive Cyber Security Submarket Share Forecast 2016 (% Share) Figure 4.3 Global Automotive Cyber Security Submarket Share Forecast 2021 (% Share) Figure 4.4 Automotive Cyber Security Submarket Percentage Change in Market Share 2016-2021 (% Change) Figure 4.5 Hardware Cyber Security Submarket Forecast 2016-2021 (US$mn, AGR %) Figure 4.6 Software Cyber Security Submarket Forecast 2016-2021 (US$mn, AGR %) Figure 4.7 Network Cyber Security Submarket Forecast 2016-2021 (US$mn, AGR %) Figure 4.8 Cloud Cyber Security Submarket Forecast 2016-2021 (US$mn, AGR %) Figure 5.1 Leading 9 National Automotive Cyber Security Markets Forecast 2016-2021 (US$, Global AGR%) Figure 5.2 Leading 9 National Automotive Cyber Security Markets CAGR Forecast 2016-2021 (CAGR %) Figure 5.3 Leading 9 National Automotive Cyber Security Markets Share Forecast 2016 (% Share) Figure 5.4 Leading 9 National Automotive Cyber Security Markets Share Forecast 2021 (% Share) Figure 5.5 China Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 5.6 China Automotive Cyber Security Market Share Forecast 2016, 2021 (% Share) Figure 5.7 France Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 5.8 France Automotive Cyber Security Market Share Forecast 2016, 2021 (% Share) Figure 5.9 Israel Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 5.10 Israel Automotive Cyber Security Market Share Forecast 2016, 2021 (% Share) Figure 5.11 Japan Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 5.12 Japan Automotive Cyber Security Market Share Forecast 2016, 2021 (% Share) Figure 5.13 Russia Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 5.14 Russia Automotive Cyber Security Market Share Forecast 2016, 2021 (% Share) Figure 5.15 Germany Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 5.16 Germany Automotive Cyber Security Market Share Forecast 2016, 2021 (% Share) Figure 5.17 S. Korea Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 5.18 S. Korea Automotive Cyber Security Market Share Forecast 2016, 2021 (% Share) Figure 5.19 US Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 5.20 US Automotive Cyber Security Market Share Forecast 2016, 2021 (% Share) Figure 5.21 UK Automotive Cyber Security Market Forecast 2016-2021 (US$mn, AGR %) Figure 5.22 UK Automotive Cyber Security Market Share Forecast 2016, 2021 (% Share) Figure 8.1 Cisco Total Company Sales 2008-2015 (US$m, AGR %) Figure 8.2 Cisco Net Profit 2010-2015 (US$m, AGR %) Figure 8.3 Cisco Cost of Research & Development 2010-2015 (US$m, AGR %) Figure 8.4 Cisco Sales by Segment of Business 2010-2015 (US$m, AGR %) Figure 8.5 Cisco Sales by Geographical Location 2010-2015 (US$m, AGR %) Figure 8.6 Cisco Number of Employees 2012-2015 (No. of Employees, AGR %) Figure 8.7 Cisco Organisational Structure 2015 Figure 8.8 Intel Corporation Total Company Sales 2008-2015 (US$m, AGR %) Figure 8.9 Intel Corporation Net Profit 2010-2015 (US$m, AGR %) Figure 8.10 Intel Corporation Cost of Research & Development 2010-2015 (US$m, AGR %) Figure 8.11 Intel Corporation Sales by Segment of Business 2013-2015 (US$m) Figure 8.12 Intel Corporation Sales by Geographical Location 2013-2015 (US$m) Figure 8.13 Intel Corporation Number of Employees 2010-2015 (No. of Employees, AGR %) Figure 8.14 Symantec Total Company Sales 2008-2015 (US$m, AGR %) Figure 8.15 Symantec Net Profit 2010-2015 (US$m, AGR %) Figure 8.16 Symantec Cost of Research & Development 2010-2015 (US$m, AGR %) Figure 8.17 Symantec Sales by Segment of Business 2014-2015 (US$m) Figure 8.18 Symantec Sales by Region 2008-2015 (US$m, AGR %) Figure 8.19 Symantec Organisational Structure Figure 8.20 Symantec Number of Employees 2010-2015 (No. of Employees, AGR %) Figure 8.21 IBM Total Company Sales 2008-2015 (US$m, AGR %) Figure 8.22 IBM Net Profit 2010-2015 (US$m, AGR %) Figure 8.23 IBM Cost of Research & Development 2010-2015 (US$m, AGR %) Figure 8.24 IBM Sales by Segment of Business 2010-2015 (US$m, AGR %) Figure 8.25 IBM Sales by Geographical Location 2010-2015 (US$m, AGR %) Figure 8.26 IBM Number of Employees 2010-2015 (No. of Employees, AGR %) Figure 8.27 IBM Organisational Structure Figure 8.28 Harman Total Company Sales 2011-2015 (US$m, AGR %) Figure 8.29 Harman Net Income 2011-2015 (US$m, AGR %) Figure 8.30 Harman Cost of R&D 2012-2015 (US$m, AGR %) Figure 8.31 Harman Sales by Business Segment 2012-2015 (US$m, AGR %) Figure 8.32 Harman Sales by Geographic Location 2012-2015 (US$m, AGR %) Figure 8.33 Harman Organisational Structure Figure 8.34 Harman Number of Employees 2012-2015 (No. of Employees, AGR %) Figure 8.35 NXP Total Company Sales 2010-2015 (US$m, AGR %) Figure 8.36 NXP Net Income / Loss 2010-2015 (US$m) Figure 8.37 NXP Cost of R&D 2010-2015 (US$m, AGR %) Figure 8.38 NXP Sales by Business Segment 2010-2015 (US$m, AGR %) Figure 8.39 NXP Sales by Geographic Location 2010-2015 (US$m, AGR %) Figure 8.40 NXP Number of Employees 2010-2015 (US$m, AGR %) Figure 8.41 Infineon Total Company Sales 2011-2015 (US$m, AGR %) Figure 8.42 Infineon Net Income 2011-2015 (US$m, AGR %) Figure 8.43 Infineon Cost of R&D 2011-2015 (US$m, AGR %) Figure 8.44 Infineon Sales by Business Segment 2011-2015 (US$m, AGR %) Figure 8.45 Infineon Sales by Geographic Location 2011-2015 (US$m, AGR %) Figure 8.46 Infineon Number of Employees 2011-2015 (US$m, AGR %) Companies Mentioned in this Report 1 Mainstream Inc 4FrontSecurity abc 7 Acano Limited ADMtek Airbus Alchemy API Alienvault Allianz Allianz Ventures Altera Altiris AMX LCC AppStream Argus Cyber Security Arilou Aspera Assemblage AT&T Audi Automotive division of Bang & Olufsen BBC Bindview Development Corporation Blackfin Security Blue Box Group BMW BT Group BT Security Bull Catena Cisco ClearLeap Clearwell Systems Cleversafe Cloudant CNN Money Code Red Technologies Cognitive Security Comneon Company-i Compose Composite Software CrossIdeas CSL International Daeja Image Systems Ltd Delphi Elektrobit Embrane Escrypt EV World Explorys Fiat Chrysler Fiberlink Communications Ford Fortune Freescale semiconductors Gideon Technologies Giesecke & Devrient GM Gravitant Harman Havok Healthcare Incorporated Honda Hyundai IBM Imlogic Inc Infineon Technologies Information Age Insieme Networks Intel International Rectifier Intucell ITS Connect Promotion Consortium Jennic JouleX Karamba Kaspersky Lab KIA KT mobile networks Lancope Lear Corp Lexus Linux LiveOffice Logic Magma Venture Partners Magna International MaintenanceNet Mazda McAfee Memoir Systems Mercedes-Benz MessageLabs Metacloud Meteorix LLC Mi5 Networks Mitsubishi Motus Ventures MWM Acoustics NCC Group Neophis Nissan NitroDesk NitroSecurity Nonghyup Cooperative Northrop Grumman Now Factory nSuite Nukona NXP Semiconductors Opel OpenDNS Orange OurCrowd ParStream PasswordBank Pawaa Penta Security PGP Corporation Phytel PistonCloud Computing Portcullis Portcullis Computer QNX Range Rover Raytheon Recon Instruments Redbend Relicore Inc. Renault RT Safran SBD SBI Holdings Secunet AG Secure Computing Security InMotion Security Group Security Innovation Sentrigo Silveerpop Simics SoftLayer SoftScan SolveDirect Sophos Sourcefire SsangYong Star Analytics Inc StrongLoop Subaru Suzuki SwapDrive Sygate Technology Symantec Symphony Teleca Tail-f Systems TalkTalk Tech Insider TechWorm Telenor Tesla Thales The Washington Post The Weather Company ThreatGrid Time Tools TowerSec Toyota Transparent Trend Micro Trillium Tropo Trusteer Ubiquisys UrbanCode Utimaco VeriSign Veritas Verizon Vertex Ventures Visteon Volkswagen Vontu WHIPTAIL WholeSecurity Wind River Systems Wired Wolfspeed WSJ Xtify Inc XtreamLok ZiiLabs Agencies and Other Organisations Mentioned in this Report Israel Advanced Technologies Park Agence National de la Security des Systemes d’Information (ANSSI) German Alliance for Cyber-Security US Automotive Security Review Board (ASRB) China Automotive Cyber Security Committee China Ministry of Industry and Information Technology China Society of Automotive Engineers US Computer Crime and Intellectual Property Section (CCIPS) Japan Control Systems Security Centre (CSSC) US Department of Defense US Department of Justice European Parliament (EP) European Union (EU) Federal Bureau of Investigation (FBI) German Federal Office for Information Security (BSI) US Federal Trade Commission (FTC) General Office of the Communist Party of China (CPC) Central Committee China General Office of the State Council UK Government Communications Headquarters (GCHQ) US Homeland Security Information Sharing and Analysis Centre (ISAC) Japan Information Technology Promotion Agency (IPA) Israel Defence Forces (IDF) cyber force Israel National Cyber Bureau Israeli Unit 8200 Japan Ministry of Defence (MoD) Japan Ministry of Economy, Trade and Industry (METI) Japan Ministry of internal Affairs and Communications (MIC) Japan National Institute of Information and Communications Technology (NICT) Japan National Police Agency Korea Communications Commission (KCC) Moscow Engineering Physics Institute Japanese National Centre of Incident Readiness and Strategy for Cyber Security (NISC) US National Cyber investigative Joint Task Force (NCIJTF) South Korean National Cyber Security Centre US National Highway Traffic Safety Administration (NHTSA) US National Institute of Standards and Technology (NIST) US National Protection and Programs Directorate (NPPD) US National Security Agency (NSA) South Korean National Security Council (NSC) US Office of Cyber and infrastructure Analysis (OCIA) US Office of Cybersecurity and Communications (CS&C) Russia Ministry of Defence South Korean National Assembly’s Public Administration & Security Committee ASRB Steering Committee (TSC) German UP KRITIS US Defense Information Systems Agency (DISA) US Department of Transportation (USDOT) World Economic Forum For more information and orders please contact gabriel.diaz@vgtelecomreports.com Terms and Conditions By replying to this e-mail submitting your order for this product you have agreed without limitation or qualification to be bound by and to comply with these Terms and Conditions. You agree that you will not fail to complete any transaction after submitting an order to purchase a product or submit any order to purchase a product where you do not intend to complete the transaction. Management Reports will only be sent on receipt of payment. Our mailing address is: 230 City Road. EC1V 2QY, London, UK. As a valued contact or customer, you are receiving this email with information that we believe will be relevant to you. If however, you wish to stop future messages you can unsubscribe from this list From owner-freebsd-ppc@freebsd.org Mon Nov 7 19:34:08 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9300C35262 for ; Mon, 7 Nov 2016 19:34:08 +0000 (UTC) (envelope-from xelalex_maker@web.de) Received: from mout.web.de (mout.web.de [212.227.17.12]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.web.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 428CD3BF for ; Mon, 7 Nov 2016 19:34:07 +0000 (UTC) (envelope-from xelalex_maker@web.de) Received: from [192.168.1.4] ([2.162.202.132]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MEVYz-1c1vri2kEj-00FnZq for ; Mon, 07 Nov 2016 20:33:59 +0100 Date: Mon, 7 Nov 2016 20:33:50 +0100 (CET) From: Alexander Klein X-X-Sender: xelalex_maker@Apfelinchen To: freebsd-ppc@freebsd.org Subject: A few glitches with 10.3-RELEASE on an iBook G4 Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-ID: X-Provags-ID: V03:K0:5jl5PMmQ9MfMkVlwIGM22M3W5O2woCKASS+Y2Vx85ewnCvcnV1q j6uevubMLy1RDa9ZvHbSq7FQ1k3OfGUOwbowrQChnTL6BuolccHINqV0YXMyIIPVpcFlX02 lAfj6lp8UqwM62/+tYL1yiI2KokTY7YE1CLHJ+iiVh6IjeaJmcauV5blG0LpIMNW4JZh8Y7 yh0eZIu7u4traNgaqNcwg== X-UI-Out-Filterresults: notjunk:1;V01:K0:6QsnajB2ZxY=:zxgKs9ioElLkTLaznApAdR nrJQfCMZkwegzWxPZSgaieLNJDofanbO6tYT6XQy6bSvwnZ5KABwXtEHmxw49B9BzQK2UL13g gbnxjs4ZSksTYO6uow7Wluf+R99z59fEjKS4Q3att6qd3IB+niAiYKsUf+KNwH66I3ykIbPnj +qGwiclDv0/FRE1wTRxYwoqcoKEWQwirdb4igl6IrDXmTH1HUoWfrkGrw5/xzQzKJT7h3BPOK A4IsPxnuqU7d08fFKKdq7oZkfSZVymXDG0IATal7fy26dy9RLnE5nsowBZjP8CT2x5QNhOGGG 5kQmtMyw2jVzEmN4hciFmfdh974PCh3Dt1tvbC7dNfu+mDjmU1SLmpZTVb7Iw4a1aFp5jNj5d WkWtHHFpTOTiq9IUnHN7APc14TL1PCT1VphqlK+iQ9ZXXDpIRx60RTztWFu7x5YgtmBVPDWz2 RzPACZtVkIQt5zOeBLvTCsdRfjKnMlaUH2+CvnVXDENQggsYUC3D+nHmLwCD6hdIfsVF67K0s FntIg/kfQ8EB86AHcZxf/SGiG0KNB1AFHPfk1Q7JYRiLaOd5uoxXTV4MOppnVyRFO0BmZwP3B Yxw8PPUAu9z59cI0gj/UX/2hKL9a6iKNJVx485J8hwr/4NatvVfSPcvrEn+jFCnVdlx7EDI4B ey7SGutzEYlpKmTLXI2EFgPUZLQzUjxCHE77M4fbWUS9xgflbPTRk1opUm0pwVLmPtE+K4Q0m E/mZ3fddwZ4OzhgdnhsozVvVSdh/6+5s1Hp3Bd8LsJg4B1YXiLarR0spj83fojDcsi5fVfNYE L0KkFky Content-Type: text/plain; CHARSET=ISO-8859-15; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2016 19:34:08 -0000 Hello, the other day I decided to resurrect my old iBook G4 using FreeBSD just to= =20 see how far I'd get in setting up an evironment without X or whatever. Since the hardware is pretty old, I really wasn't expecting everything to= =20 work right out of the box with a modern system, but generally most things= =20 work pretty well. There are a few points, however, where I simply got=20 stuck, and maybe someone on the list has a few hints for me: 1. Keyboard: The keymaps I could choose during install weren't all that useful, but I=20 modified an existing one to suit my needs for the time being. However,=20 there are still a few quirks left: The machine has a German keyboard, and it seems that both, the ^/=B0-key in= =20 the top left corner, as well as the fn-key in the bottom left corner get=20 mapped to scancode 0, which results in some unwelcome duplicated features= =20 for fn, such as generating additional carets when switching virtual=20 consoles with fn+ctrl+alt+ 2. Screen: I can't seem to do anything useful with vidcontrol when it comes to=20 switching video modes. First of all, vidcontrol -i mode only provides me=20 with the following: mode# flags type size font window linear buff= er ---------------------------------------------------------------------------= --- 0 (0x000) 0x00000000 T 0x0 0x1099121152 0xffffd948 1074888k = -9k 0xffffd900 1073243k 1 (0x001) 0x00000000 T 0x0 0x1099121152 0xffffd948 1074888k = -9k 0xffffd900 1073243k =2E.. and so on for another few hundred lines. This may be related to the video card not being detected properly. I'm=20 pretty sure it's ATI, but look what sysctl says with respect to the=20 backlight: dev.backlight.0.level: 0 dev.backlight.0.%parent: vgapci0 dev.backlight.0.%pnpinfo:=20 dev.backlight.0.%location:=20 dev.backlight.0.%driver: backlight dev.backlight.0.%desc: PowerBook backlight for nVidia graphics dev.backlight.%parent: Needless to say that changing the backlight-level doesn't do a thing, and= =20 vidcontrol -c blink as well as vidcontrol -t 10 don't do anything useful,= =20 either. 3. Sound: While a sound device is detected, and the startup sound works just fine,=20 FreeBSD has yet to produce a single beep; here's /dev/soundstat: Installed devices: pcm0: (play) default And this is what sysctl knows about sound: device=09snd_ai2s device=09snd_davbus device=09snd_uaudio hw.snd.default_auto: 1 hw.snd.version: 2009061500/powerpc hw.snd.default_unit: 0 hw.snd.maxautovchans: 16 hw.snd.verbose: 0 hw.snd.vpc_mixer_bypass: 1 hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 hw.snd.feeder_rate_polyphase_max: 183040 hw.snd.feeder_rate_min: 1 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_quality: 1 hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,8= 8200,96000,176400,192000 hw.snd.feeder_eq_exact_rate: 0 hw.snd.compat_linux_mmap: 0 hw.snd.basename_clone: 1 hw.snd.report_soft_formats: 1 hw.snd.report_soft_matrix: 1 hw.snd.latency: 5 hw.snd.latency_profile: 1 hw.snd.vpc_autoreset: 1 hw.snd.vpc_0db: 45 hw.snd.vpc_reset: 0 However, there's no /dev/dsp 4. CPU: The machine ought to be running at 800MHz, but it seems to come up with=20 some kind of frequency throttling according to dmesg: cpu0: Motorola PowerPC 7455 revision 3.3, 614.62 MHz cpu0: Features 9c000000 cpu0: HID0 8450c0bc cpulist0: on ofwbus0 cpu0: on cpulist0 Anything related to cpufreq is missing from sysctl -a output. Are those bugs, or am I doing something wrong? I'll be grateful for any hints. Best regards, =09Alexander From owner-freebsd-ppc@freebsd.org Mon Nov 7 19:40:30 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A1E2C3534F for ; Mon, 7 Nov 2016 19:40:30 +0000 (UTC) (envelope-from brenohl@br.ibm.com) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.pphosted.com", Issuer "thawte SHA256 SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A0927AC for ; Mon, 7 Nov 2016 19:40:29 +0000 (UTC) (envelope-from brenohl@br.ibm.com) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uA7JceEA028284 for ; Mon, 7 Nov 2016 14:40:28 -0500 Received: from e18.ny.us.ibm.com (e18.ny.us.ibm.com [129.33.205.208]) by mx0a-001b2d01.pphosted.com with ESMTP id 26jsq5mvpj-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 07 Nov 2016 14:40:27 -0500 Received: from localhost by e18.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 7 Nov 2016 14:40:27 -0500 Received: from d01dlp01.pok.ibm.com (9.56.250.166) by e18.ny.us.ibm.com (146.89.104.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 7 Nov 2016 14:40:24 -0500 Received: from b01cxnp22034.gho.pok.ibm.com (b01cxnp22034.gho.pok.ibm.com [9.57.198.24]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id C545C38C8041 for ; Mon, 7 Nov 2016 14:40:20 -0500 (EST) Received: from b01ledav03.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id uA7JeLdm32112788 for ; Mon, 7 Nov 2016 19:40:21 GMT Received: from b01ledav03.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E7B41B2050 for ; Mon, 7 Nov 2016 14:40:20 -0500 (EST) Received: from [9.86.26.163] (unknown [9.86.26.163]) by b01ledav03.gho.pok.ibm.com (Postfix) with ESMTP id 9B2D2B204E for ; Mon, 7 Nov 2016 14:40:20 -0500 (EST) To: freebsd-ppc@freebsd.org Subject: Why Huge pages must be enabled to boot a FreeBSD VM? From: Breno Leitao Date: Mon, 7 Nov 2016 17:40:19 -0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16110719-0044-0000-0000-000001ACCAE0 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006040; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000189; SDB=6.00777829; UDB=6.00374534; IPR=6.00555145; BA=6.00004861; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013241; XFM=3.00000011; UTC=2016-11-07 19:40:25 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16110719-0045-0000-0000-000005D9D02F Message-Id: <0c4b5c7e-1078-4d42-426c-3091da17e501@br.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-11-07_08:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611070360 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2016 19:40:30 -0000 Hello, I am wondering why Huge pages must be enabled in the hypervisor (KVM) in order to boot FreeBSD as a guest. I was facing the issue below, and then I found that I didn't have enough huge pages available. Enabling the amount of huge pages available solved this issue. Kernel entry at 0x1023c0 ... panic: Page replacement error: -4 cpuid = 0 KDB: stack backtrace: #0 0x6144fc at ??+0 #1 0x614598 at ??+0 #2 0xa7b078 at ??+0 #3 0xa31544 at ??+0 #4 0xa33010 at ??+0 #5 0xa7b480 at ??+0 #6 0xa6b2bc at ??+0 #7 0xa64c74 at ??+0 #8 0x102458 at ??+0 Uptime: 1s If huge pages is not enabled, is there a way to proceed with normal pages other than crashing the VM? Thank you, Breno From owner-freebsd-ppc@freebsd.org Mon Nov 7 21:57:56 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F704C35188 for ; Mon, 7 Nov 2016 21:57:56 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E2E9B1D for ; Mon, 7 Nov 2016 21:57:56 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from aurora.physics.berkeley.edu (aurora.physics.berkeley.edu [128.32.117.67]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id uA7LkRYa005918 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 7 Nov 2016 13:46:28 -0800 Subject: Re: Why Huge pages must be enabled to boot a FreeBSD VM? To: freebsd-ppc@freebsd.org References: <0c4b5c7e-1078-4d42-426c-3091da17e501@br.ibm.com> From: Nathan Whitehorn Message-ID: Date: Mon, 7 Nov 2016 13:46:27 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <0c4b5c7e-1078-4d42-426c-3091da17e501@br.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVaq04SjtlIyrpjyXG7/MptiwBvbw8OwbijcevDVu16p9UvcBqs3kQeq4e4mhzR+IQZ7XHmWhbzfvxJ2qQsqVIIIWYTJyFU9Hn8= X-Sonic-ID: C;NL7lojOl5hGBhYYhDwv+pw== M;zNRAozOl5hGBhYYhDwv+pw== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2016 21:57:56 -0000 On 11/07/16 11:40, Breno Leitao wrote: > Hello, > > I am wondering why Huge pages must be enabled in the hypervisor (KVM) in > order to boot FreeBSD as a guest. > > I was facing the issue below, and then I found that I didn't have enough huge > pages available. Enabling the amount of huge pages available solved this issue. > > Kernel entry at 0x1023c0 ... > panic: Page replacement error: -4 > cpuid = 0 > KDB: stack backtrace: > #0 0x6144fc at ??+0 > #1 0x614598 at ??+0 > #2 0xa7b078 at ??+0 > #3 0xa31544 at ??+0 > #4 0xa33010 at ??+0 > #5 0xa7b480 at ??+0 > #6 0xa6b2bc at ??+0 > #7 0xa64c74 at ??+0 > #8 0x102458 at ??+0 > Uptime: 1s > > > If huge pages is not enabled, is there a way to proceed with normal pages > other than crashing the VM? > > Thank you, > Breno > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > It is supposed to warn you about that in early boot, but I guess the warning is coming too late now. We should fix that. The FreeBSD kernel on powerpc64 critically relies on huge pages to create a direct-mapped region for physical memory. It is hard, though not impossible, to change this, as it requires a comprehensive rearchitecture of much of the memory management code. -Nathan From owner-freebsd-ppc@freebsd.org Wed Nov 9 00:13:03 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 246F5C361C0 for ; Wed, 9 Nov 2016 00:13:03 +0000 (UTC) (envelope-from bsdlists@xmail.net) Received: from www.xmail.net (www.xmail.net [65.110.6.50]) by mx1.freebsd.org (Postfix) with ESMTP id 1625B202 for ; Wed, 9 Nov 2016 00:13:02 +0000 (UTC) (envelope-from bsdlists@xmail.net) To: freebsd ppc Received: from [24.113.41.81] by www.xmail.net with HTTP for ; Tue, 08 Nov 2016 16:02:45 -0800 X-Mailer: Web XMail 4.1 From: "Chris H" Subject: Fails to boot on PowerMAC3,5 from install media Date: Tue, 08 Nov 2016 16:02:45 -0800 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline MIME-Version: 1.0 Message-Id: <20161109000245.4CF042F2740A@www.xmail.net> X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 00:13:03 -0000 Greetings, all=0AI recently upgraded my wife's Mac, and was looking forw= ard to utilizing=0Aher old one for FreeBSD. However, after nearly 5 days= , I have been unable=0Ato so much as boot the install media (CD).=0AI st= arted with the 9.3-release iso. It would always hang either somewhere=0A= at the keyboard/mouse initialization (USB), or re-polling the DVD drive.= I=0Afinally gave up, and tried the 11 CD, but using it, always resulted= in a=0Areboot shortly into the initialization process, so I decided to= work my way=0Afrom the 9.0-release, through the 10.x-releases. Which al= l also failed=0Afairly early in the process. All 10.x ultimately result= in an endless=0A(aprobe0:ata1:0:1:0): Error 5, Retries exhausted=0Aloop= . Just for kicks, I burned an 8.0 CD, and placed it into the Mac, and=0A= lo-and-behold I got the install screen. But the drive portion didn't wor= k --=0Ait wasn't possible to delete the old partitions (it said somethin= g to the=0Aeffect that it (D)elete wasn't an appropriate option). I also= attempted to=0Ainstall OpenBSD, NetBSD. Both with varying degrees of fa= ilure.=0ASo, out of complete desperation, I tried Linux.=0AI went from z= ero to desktop in under 20 minutes, with Debian Stretch,Jessie,=0Aand Ub= untu-Mate.=0A=0AWTF?!?!?=0A=0AI've been on BSD for some 30yrs, and this= just seems plain *wrong*.=0ADoesn't BSD (Darwin) bootstrap OSX? Sorry i= f this seems a bit "rantish"=0Abut at this point I'm pretty frustrated.= :-P=0A=0AFWIW; HARDWARE=0APower MAC G4 (QuickSilver/Digital Audio) Dual= CPU @800Mhz (each)=0APowerMAC3,5=0APowerPC (2.1)=0AROM 4.2.5f1=0A=0A*An= y* help bootstrapping FreeBSD on this is *greatly* appreciated!=0AI'd lo= ve to contribute, but if I can't even bootstrap BSD, what am=0AI to do?= :-)=0A=0AThanks!=0A=0A--Chris=0A---------------------------------------= ---------------------------------------------=0A From owner-freebsd-ppc@freebsd.org Wed Nov 9 02:34:11 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58C44C3632F for ; Wed, 9 Nov 2016 02:34:11 +0000 (UTC) (envelope-from tamiji@me.com) Received: from pv35p10im-ztdg05021101.me.com (pv35p10im-ztdg05021101.me.com [17.133.186.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 342E9DB3 for ; Wed, 9 Nov 2016 02:34:11 +0000 (UTC) (envelope-from tamiji@me.com) Received: from process-dkim-sign-daemon.pv35p10im-ztdg05021101.me.com by pv35p10im-ztdg05021101.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0OGC00B00SARLB00@pv35p10im-ztdg05021101.me.com> for freebsd-ppc@freebsd.org; Wed, 09 Nov 2016 02:34:10 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1478658850; bh=G4bGuocWa9FzkstEsmsVhyIMF8+78u1X8va7UOCBKOk=; h=From:Content-type:MIME-version:Subject:Message-id:Date:To; b=mMljAsapoktPuEEBKdAs8/z3PaCMuCD+jyqGbfPcxeK3Km2iOX3fTjVSKy8TcJNjK RHBAGu+l5AlBXIhoPI91cgDf6mNxPw0o9zWlxMV6aqqC7AOdd09j4t5+kayDQZTwmu /GfyYOa/KolmYTYr1LdCZ7xY9i1WHycb573q68Q3qzTH47ORyc+rRD3Vf7AUlo39lt kOHXQPVCdzRzbOoxWJ/1r5TfZEeMIphQxyMzG4WSMpOBcTDXx+hsBzWZCy10FwE8Yt ACIlnGTmqGkNWyJ4kVyvzUpqquzpNIGdyVukAQdNVj2u6wJuAw1/fMospR8hIn5peW lgcoEyrzI6GOA== Received: from [10.0.1.102] (cpe-75-82-81-24.socal.res.rr.com [75.82.81.24]) by pv35p10im-ztdg05021101.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0OGC00GYRSGXQO10@pv35p10im-ztdg05021101.me.com> for freebsd-ppc@freebsd.org; Wed, 09 Nov 2016 02:34:10 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-08_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1603290000 definitions=main-1611090046 From: Tamiji Homma Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable MIME-version: 1.0 (Mac OS X Mail 10.2 \(3253\)) Subject: FreeBSD 11 on PowerBook G4 Message-id: <9421DD34-95A4-4435-84CB-D9C3A1D52DC5@me.com> Date: Tue, 08 Nov 2016 18:34:09 -0800 To: freebsd-ppc@freebsd.org X-Mailer: Apple Mail (2.3253) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 02:34:11 -0000 I=E2=80=99ve been running FreeBSD-ppc on PowerBook G4 1GHz/1GB DRAM = since 9.1-RC2. I upgraded to 10.2 some time back. It works fine. I gave it a try 11.0. Installer worked flawlessly but installed kernel = crash during boot. Since it reboots spontaneously, I couldn=E2=80=99t write it down. I = video-captured screen and took a snapshot. Here is screenshot fatal kernel trap. http://www.pbase.com/tammyhomma/image/164488840/original=20 Anyone seen this? I also tried Nov. 6th 11-stable snapshot. Kernel crashes at the same = point. Thanks. PS: I installed 10.3 for now and it works. Tammy From owner-freebsd-ppc@freebsd.org Wed Nov 9 02:53:52 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADA51C36760 for ; Wed, 9 Nov 2016 02:53:52 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AA7A3C2 for ; Wed, 9 Nov 2016 02:53:52 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id q124so246953739itd.1 for ; Tue, 08 Nov 2016 18:53:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hVXIQzCJH+z5Rn8Okfw2317mB4Os5V9HySdv/4H3YRI=; b=sVhuLFes8yYdqid7V4J8aWJ0xyjgqoxXyOWI9rJzwsDEJ1X+DfMBv+l2V6fRdhb6Xt hXiO7UkabaNXS9Av1XhkDyIj5QzalhRQpZFr/U+eLvW1PPQOKTCfYqXsLYywJ1WnGFIl 907oK/1hhK+oK/gyhhIH2WFVYiYQnv0KE4UbM8kmh1k1giDPjh2pziwbQSz9oAohk3p0 gK9JeGrzKg7kLpdpb6a9mg1xNp23hs28qI7ORsCSrPx5cAL60X4VGyMdD+a/omzTi2K/ r2QWH43zf4THrUuNkryJiOeGB3vjS3WVuZ+QLFM3jqPzLDH9P9RFP8ZcI3ngFfYQTTQX /Rlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=hVXIQzCJH+z5Rn8Okfw2317mB4Os5V9HySdv/4H3YRI=; b=h5nv++0OhtV18AJYZojI0B7b2MadIjqZ9POSq9Ss9TVAttOCkdws8ey0VbZ8KMzD6T 8L+iIY3wCNm5V2RPbQs3WMOl7SUI1PrwNa2RJhcAMLIJfjC4/O0BrI9R/lKA/hMI7VCz z1nKcPGmC3lnEV07qy4yHbhZ1+YoDcSQRr9ZYjuYvkL5NKh3/qXkJoGD2tUUTZSe8s1H 6uQhhiHtkHb0rZfa6WaT6xjIYOjESSbaSI8pkSQeXdZgNO4K7EUIMfoRbQlu3HEGXU4o Lbp0ziUykdeuQBI07x4TNaQbaToJbB4vlfJP1Gt6ElYrpJpohxgaH54tfUPkYngU9eWx jXqg== X-Gm-Message-State: ABUngvcePKjfLDkUWjz8sv988UcrBi+FcRqM9P10h0ar+4vw+hKycAr0oI6S8gAQzPIo7w== X-Received: by 10.107.15.144 with SMTP id 16mr19236140iop.23.1478660031851; Tue, 08 Nov 2016 18:53:51 -0800 (PST) Received: from zhabar.knownspace (50-80-150-234.client.mchsi.com. [50.80.150.234]) by smtp.gmail.com with ESMTPSA id l74sm2053819ita.15.2016.11.08.18.53.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Nov 2016 18:53:51 -0800 (PST) Sender: Justin Hibbits Date: Tue, 8 Nov 2016 20:53:49 -0600 From: Justin Hibbits To: Tamiji Homma Cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD 11 on PowerBook G4 Message-ID: <20161108205349.1b5b26a6@zhabar.knownspace> In-Reply-To: <9421DD34-95A4-4435-84CB-D9C3A1D52DC5@me.com> References: <9421DD34-95A4-4435-84CB-D9C3A1D52DC5@me.com> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; powerpc64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 02:53:52 -0000 On Tue, 08 Nov 2016 18:34:09 -0800 Tamiji Homma wrote: > I=E2=80=99ve been running FreeBSD-ppc on PowerBook G4 1GHz/1GB DRAM since > 9.1-RC2. I upgraded to 10.2 some time back. It works fine. >=20 > I gave it a try 11.0. Installer worked flawlessly but installed > kernel crash during boot. >=20 > Since it reboots spontaneously, I couldn=E2=80=99t write it down. I > video-captured screen and took a snapshot. >=20 > Here is screenshot fatal kernel trap. > http://www.pbase.com/tammyhomma/image/164488840/original=20 >=20 > Anyone seen this? >=20 > I also tried Nov. 6th 11-stable snapshot. Kernel crashes at the same > point. >=20 > Thanks. >=20 > PS: I installed 10.3 for now and it works. >=20 > Tammy Hi Tammy, Unfortunately, you're in good company with that panic. I've seen that since at least February on my PowerBook, but haven't made the time to track it down (11-CURRENT from mid-October 2015 worked fine). On the bright side, though, 12-CURRENT as of October 31 works fine on my PowerBook. I still don't have the time to bisect and track down the cause of the problem or the fix, but if you feel like bisecting and trying to find the snapshot that fixes the problem, that could help narrow down where it got fixed, and a fix could be backported to 11-STABLE. - Justin From owner-freebsd-ppc@freebsd.org Wed Nov 9 03:33:44 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34612C36FEA for ; Wed, 9 Nov 2016 03:33:44 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-58.reflexion.net [208.70.210.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D36A7A2B for ; Wed, 9 Nov 2016 03:33:43 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 32054 invoked from network); 9 Nov 2016 03:33:38 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 9 Nov 2016 03:33:38 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Tue, 08 Nov 2016 22:33:46 -0500 (EST) Received: (qmail 9384 invoked from network); 9 Nov 2016 03:33:45 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 9 Nov 2016 03:33:45 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 14882EC8FC3; Tue, 8 Nov 2016 19:33:41 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: base/binutils (from ports/head -r424540) requires "gcc" to be a valid command on the host environment Message-Id: Date: Tue, 8 Nov 2016 19:33:40 -0800 To: FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 03:33:44 -0000 base/binutils for my attempted powerpc64 cross build target [from amd64 = head -r308247M] failed for lack of a "gcc": > Script started on Tue Nov 8 18:53:40 2016 > Command: make CROSS_TOOLCHAIN=3Dpowerpc64-gcc = CROSS_SYSROOT=3D/usr/obj/DESTDIRs/xtoolchain-powerpc64-installworld = package . . . > Making info in doc > gmake[5]: Entering directory = '/usr/obj/portswork/usr/ports/base/binutils/work/binutils-2.25.1/bfd/doc' > gcc -o chw$$ \ > -I.. -I./.. -I./../../include -I./../../intl -I../../intl = ./chew.c; \ > /bin/sh ./../../move-if-change \ > chw$$ chew; \ > touch chew.stamp > /bin/sh: gcc: not found > mv: rename chw79264 to chew: No such file or directory > ./chew -f ./doc.str < ./../aoutx.h >aoutx.tmp > ./chew -f ./doc.str < ./../archive.c >archive.tmp > ./chew -f ./doc.str < ./../archures.c >archures.tmp > /bin/sh: ./chew: not found > gmake[5]: *** [Makefile:798: aoutx.stamp] Error 127 > gmake[5]: *** Waiting for unfinished jobs.... > /bin/sh: ./chew: not found > gmake[5]: *** [Makefile:805: archive.stamp] Error 127 > /bin/sh: ./chew: not found > gmake[5]: *** [Makefile:812: archures.stamp] Error 127 > gmake[5]: Leaving directory = '/usr/obj/portswork/usr/ports/base/binutils/work/binutils-2.25.1/bfd/doc' > Making info in po To get as far as the above I first had to rebuild the build = prerequisites for binutils (devel/binutils): I had used pkg autoremove = at some point and the lack of (for example) devel/bison stopped my first = attempt at building base/binutils : base/binutils did not cause a build = of its build prerequisites. Context details: > # uname -apKU > FreeBSD FreeBSDx64 12.0-CURRENT FreeBSD 12.0-CURRENT #2 r308247M: Thu = Nov 3 04:05:55 PDT 2016 = markmi@FreeBSDx64:/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC-NOD= BG amd64 amd64 1200014 1200014 > # svnlite info | grep "Re[lv]" > Relative URL: ^/head/base/binutils > Revision: 424540 > Last Changed Rev: 421584 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Wed Nov 9 03:33:48 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 510CAC3500F for ; Wed, 9 Nov 2016 03:33:48 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-53.reflexion.net [208.70.210.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 004A9A49 for ; Wed, 9 Nov 2016 03:33:47 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 25927 invoked from network); 9 Nov 2016 03:33:30 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 9 Nov 2016 03:33:30 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Tue, 08 Nov 2016 22:33:45 -0500 (EST) Received: (qmail 9352 invoked from network); 9 Nov 2016 03:33:45 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 9 Nov 2016 03:33:45 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id DB0CAEC881E; Tue, 8 Nov 2016 19:33:40 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: base/binutils (from ports/head -r424540) requires "gcc" to be a valid command on the host environment Message-Id: Date: Tue, 8 Nov 2016 19:33:40 -0800 To: FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 03:33:48 -0000 base/binutils for my attempted powerpc64 cross build target [from amd64 = head -r308247M] failed for lack of a "gcc": > Script started on Tue Nov 8 18:53:40 2016 > Command: make CROSS_TOOLCHAIN=3Dpowerpc64-gcc = CROSS_SYSROOT=3D/usr/obj/DESTDIRs/xtoolchain-powerpc64-installworld = package . . . > Making info in doc > gmake[5]: Entering directory = '/usr/obj/portswork/usr/ports/base/binutils/work/binutils-2.25.1/bfd/doc' > gcc -o chw$$ \ > -I.. -I./.. -I./../../include -I./../../intl -I../../intl = ./chew.c; \ > /bin/sh ./../../move-if-change \ > chw$$ chew; \ > touch chew.stamp > /bin/sh: gcc: not found > mv: rename chw79264 to chew: No such file or directory > ./chew -f ./doc.str < ./../aoutx.h >aoutx.tmp > ./chew -f ./doc.str < ./../archive.c >archive.tmp > ./chew -f ./doc.str < ./../archures.c >archures.tmp > /bin/sh: ./chew: not found > gmake[5]: *** [Makefile:798: aoutx.stamp] Error 127 > gmake[5]: *** Waiting for unfinished jobs.... > /bin/sh: ./chew: not found > gmake[5]: *** [Makefile:805: archive.stamp] Error 127 > /bin/sh: ./chew: not found > gmake[5]: *** [Makefile:812: archures.stamp] Error 127 > gmake[5]: Leaving directory = '/usr/obj/portswork/usr/ports/base/binutils/work/binutils-2.25.1/bfd/doc' > Making info in po To get as far as the above I first had to rebuild the build = prerequisites for binutils (devel/binutils): I had used pkg autoremove = at some point and the lack of (for example) devel/bison stopped my first = attempt at building base/binutils : base/binutils did not cause a build = of its build prerequisites. Context details: > # uname -apKU > FreeBSD FreeBSDx64 12.0-CURRENT FreeBSD 12.0-CURRENT #2 r308247M: Thu = Nov 3 04:05:55 PDT 2016 = markmi@FreeBSDx64:/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC-NOD= BG amd64 amd64 1200014 1200014 > # svnlite info | grep "Re[lv]" > Relative URL: ^/head/base/binutils > Revision: 424540 > Last Changed Rev: 421584 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Wed Nov 9 04:14:39 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EACDBC35AF2 for ; Wed, 9 Nov 2016 04:14:39 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-55.reflexion.net [208.70.210.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 82AEEB5F for ; Wed, 9 Nov 2016 04:14:39 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 16645 invoked from network); 9 Nov 2016 04:14:34 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 9 Nov 2016 04:14:34 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Tue, 08 Nov 2016 23:14:42 -0500 (EST) Received: (qmail 9888 invoked from network); 9 Nov 2016 04:14:42 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 9 Nov 2016 04:14:42 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 321F0EC8F04; Tue, 8 Nov 2016 20:14:37 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: base/gcc (from ports/head -r424540) requires older mpfr (3.1.4 vs. the installed 3.1.5); 3.1.4 distfile not found Message-Id: Date: Tue, 8 Nov 2016 20:14:36 -0800 To: FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 04:14:40 -0000 My attempt to build (package) base/gcc for targeting powerpc64 failed: > Script started on Tue Nov 8 19:59:23 2016 > Command: make CROSS_TOOLCHAIN=3Dpowerpc64-gcc = CROSS_SYSROOT=3D/usr/obj/DESTDIRs/xtoolchain-powerpc64-installworld = package . . . > =3D> mpfr-3.1.4.tar.xz doesn't seem to exist in /usr/ports/distfiles/. > =3D> Attempting to fetch = http://www.mpfr.org/mpfr-current/mpfr-3.1.4.tar.xz > fetch: http://www.mpfr.org/mpfr-current/mpfr-3.1.4.tar.xz: Not Found > =3D> Attempting to fetch = http://distcache.FreeBSD.org/ports-distfiles/mpfr-3.1.4.tar.xz > fetch: http://distcache.FreeBSD.org/ports-distfiles/mpfr-3.1.4.tar.xz: = Not Found > =3D> Couldn't fetch it - please try to retrieve this > =3D> port manually into /usr/ports/distfiles/ and try again. > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/base/gcc >=20 > Script done, output file is /root/ports_typescripts/gcc_00.typescript # pkg info | grep mpfr mpfr-3.1.5 Library for multiple-precision = floating-point computations =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Wed Nov 9 07:56:53 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C979C3763C for ; Wed, 9 Nov 2016 07:56:53 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-55.reflexion.net [208.70.210.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E6C6162A for ; Wed, 9 Nov 2016 07:56:52 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 29630 invoked from network); 9 Nov 2016 07:56:48 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 9 Nov 2016 07:56:48 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Wed, 09 Nov 2016 02:56:56 -0500 (EST) Received: (qmail 22451 invoked from network); 9 Nov 2016 07:56:56 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 9 Nov 2016 07:56:56 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 7CD57EC8F15; Tue, 8 Nov 2016 23:56:50 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: base/gcc (from ports/head -r424540) requires older mpfr (3.1.4 vs. the installed 3.1.5); other points to get a build. . . Date: Tue, 8 Nov 2016 23:56:49 -0800 References: To: FreeBSD Toolchain , FreeBSD PowerPC ML In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 07:56:53 -0000 On 2016-Nov-8, at 8:14 PM, Mark Millard wrote: > My attempt to build (package) base/gcc for targeting powerpc64 failed: >=20 >> Script started on Tue Nov 8 19:59:23 2016 >> Command: make CROSS_TOOLCHAIN=3Dpowerpc64-gcc = CROSS_SYSROOT=3D/usr/obj/DESTDIRs/xtoolchain-powerpc64-installworld = package > . . . >> =3D> mpfr-3.1.4.tar.xz doesn't seem to exist in = /usr/ports/distfiles/. >> =3D> Attempting to fetch = http://www.mpfr.org/mpfr-current/mpfr-3.1.4.tar.xz >> fetch: http://www.mpfr.org/mpfr-current/mpfr-3.1.4.tar.xz: Not Found >> =3D> Attempting to fetch = http://distcache.FreeBSD.org/ports-distfiles/mpfr-3.1.4.tar.xz >> fetch: = http://distcache.FreeBSD.org/ports-distfiles/mpfr-3.1.4.tar.xz: Not = Found >> =3D> Couldn't fetch it - please try to retrieve this >> =3D> port manually into /usr/ports/distfiles/ and try again. >> *** Error code 1 >>=20 >> Stop. >> make: stopped in /usr/ports/base/gcc >>=20 >> Script done, output file is /root/ports_typescripts/gcc_00.typescript >=20 > # pkg info | grep mpfr > mpfr-3.1.5 Library for multiple-precision = floating-point computations After updating it locally to reference 3.1.5 there were two more = problems. . . > configure: error: Specified CC_FOR_BUILD doesn't seem to work > gmake[1]: *** [Makefile:4519: configure-gmp] Error 1 > gmake[1]: *** Waiting for unfinished jobs.... > . . . > gmake[1]: Leaving directory = '/usr/obj/portswork/usr/ports/base/gcc/work/.build' > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the = failure to > the maintainer. > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/base/gcc Needed the command to exist: gcc So I created: # ls -l /usr/local/bin/gcc lrwxr-xr-x 1 root wheel 4 Nov 8 20:29 /usr/local/bin/gcc -> gcc6 (The only host gcc installed is gcc6 in my context.) (base/binutils also required such a gcc that would be found by default.) Then it got farther but there was later: > configure: error: C++ compiler missing or inoperational > gmake[1]: *** [Makefile:2717: configure-build-libcpp] Error 1 > gmake[1]: *** Waiting for unfinished jobs.... Needed the command to exist: g++ So I created: # ls -l /usr/local/bin/g++ lrwxr-xr-x 1 root wheel 4 Nov 8 20:33 /usr/local/bin/g++ -> g++6 (base/bintutils did not require this.) After that it got much farther. But it stopped with missing files, = including sparc ones for a powerpc64 context: > =3D=3D=3D> Building package for freebsd-gcc-5.4.0 > pkg-static: Unable to access file = /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc64-por= tbld-freebsd12.0/5.4.0/include/visintrin.h: No such file or directory > pkg-static: Unable to access file = /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc64-por= tbld-freebsd12.0/5.4.0/plugin/include/config/sparc/freebsd.h: No such = file or directory > pkg-static: Unable to access file = /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc64-por= tbld-freebsd12.0/5.4.0/plugin/include/config/sparc/sparc-opts.h: No such = file or directory > pkg-static: Unable to access file = /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc64-por= tbld-freebsd12.0/5.4.0/plugin/include/config/sparc/sparc-protos.h: No = such file or directory > pkg-static: Unable to access file = /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc64-por= tbld-freebsd12.0/5.4.0/plugin/include/config/sparc/sparc.h: No such file = or directory > pkg-static: Unable to access file = /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc64-por= tbld-freebsd12.0/5.4.0/plugin/include/config/sparc/sysv4.h: No such file = or directory > pkg-static: Unable to access file = /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc64-por= tbld-freebsd12.0/5.4.0/plugin/include/config/vxworks-dummy.h: No such = file or directory > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/base/gcc As far as what is really there for powerpc64: > # ls = /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc64-por= tbld-freebsd12.0/5.4.0/include/ | grep "^v" > varargs.h > vec_types.h > # ls = /usr/obj/portswork/usr/ports/base/gcc/work/stage/usr/lib/gcc/powerpc64-por= tbld-freebsd12.0/5.4.0/plugin/include/config/ > dbxelf.h elfos.h freebsd-spec.h = freebsd-stdint.h freebsd.h initfini-array.h = rs6000 The references to the non-existent files are from the pkg-plist lines: > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/visintrin.h . . . > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/initfini-arra= y.h > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/%%OPSYS= %%.h > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc-o= pts.h > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc-p= rotos.h > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc.h= > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sysv4.h= > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/vxworks-dummy= .h The base/README only mentions generation of pkg-plist for base/binutils = . Doing a quick check for base/gcc : > # make CROSS_TOOLCHAIN=3Dpowerpc64-gcc = CROSS_SYSROOT=3D/usr/obj/DESTDIRs/xtoolchain-powerpc64-installworld = makeplist > pkg-plist-powerpc64 > # diff pkg-plist pkg-plist-powerpc64 | more > 0a1 > > /you/have/to/check/what/makeplist/gives/you > 17a19 > > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/libmilter/mfapi.h > 31a34 > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/altivec.h > 32a36,37 > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/htmintrin.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/htmxlintrin.h > 33a39,44 > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/paired.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/ppc-asm.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/ppu_intrinsics.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/si2vmx.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/spe.h > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/spu2vmx.h > 45c56 > < lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/visintrin.h > --- > > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/vec_types.h > 107,112c118,126 > < = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/%%OPSYS= %%.h > < = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc-o= pts.h > < = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc-p= rotos.h > < = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc.h= > < = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sysv4.h= > < = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/vxworks-dummy= .h > --- > > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/defaul= t64.h > > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/%%OPSY= S%%64.h > > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/option= -defaults.h > > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6000= -builtin.def > > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6000= -cpus.def > > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6000= -opts.h > > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6000= -protos.h > > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6000= .h > > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/sysv4.= h This leads to targeting powerpc64 using (in my context): > # ls -l /usr/local/bin/gcc > lrwxr-xr-x 1 root wheel 4 Nov 8 20:29 /usr/local/bin/gcc -> gcc6 > # ls -l /usr/local/bin/g++ > lrwxr-xr-x 1 root wheel 4 Nov 8 20:33 /usr/local/bin/g++ -> g++6 > # svnlite diff . > Index: Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- Makefile (revision 424540) > +++ Makefile (working copy) > @@ -8,7 +8,7 @@ > GNU/gmp:gmp \ > http://www.multiprecision.org/mpc/download/:mpc > DISTFILES=3D ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ > - mpfr-3.1.4.tar.xz:mpfr \ > + mpfr-3.1.5.tar.xz:mpfr \ > gmp-5.1.3.tar.xz:gmp \ > mpc-1.0.3.tar.gz:mpc > PKGNAMEPREFIX=3D ${OPSYS:tl}- > @@ -55,7 +55,7 @@ > INSTALL_TARGET?=3D install-gcc > =20 > post-extract: > - cd ${WRKSRC}; ${LN} -sf ../mpfr-3.1.4 mpfr ; \ > + cd ${WRKSRC}; ${LN} -sf ../mpfr-3.1.5 mpfr ; \ > ${LN} -sf ../gmp-5.1.3 gmp ; \ > ${LN} -sf ../mpc-1.0.3 mpc > =20 > Index: distinfo > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- distinfo (revision 424540) > +++ distinfo (working copy) > @@ -1,8 +1,8 @@ > TIMESTAMP =3D 1472596046 > SHA256 (gcc-5.4.0.tar.bz2) =3D = 608df76dec2d34de6558249d8af4cbee21eceddbcb580d666f7a5a583ca3303a > SIZE (gcc-5.4.0.tar.bz2) =3D 95661481 > -SHA256 (mpfr-3.1.4.tar.xz) =3D = 761413b16d749c53e2bfd2b1dfaa3b027b0e793e404b90b5fbaeef60af6517f5 > -SIZE (mpfr-3.1.4.tar.xz) =3D 1122152 > +SHA256 (mpfr-3.1.5.tar.xz) =3D = 015fde82b3979fbe5f83501986d328331ba8ddf008c1ff3da3c238f49ca062bc > +SIZE (mpfr-3.1.5.tar.xz) =3D 1126668 > SHA256 (gmp-5.1.3.tar.xz) =3D = dee2eda37f4ff541f30019932db0c37f6f77a30ba3609234933b1818f9b07071 > SIZE (gmp-5.1.3.tar.xz) =3D 1818812 > SHA256 (mpc-1.0.3.tar.gz) =3D = 617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 > Index: pkg-plist > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- pkg-plist (revision 424540) > +++ pkg-plist (working copy) > @@ -15,6 +15,7 @@ > bin/%%GCC_TARGET%%-gcov > bin/%%GCC_TARGET%%-gcov-tool > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README > = +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/libmilter/mfapi.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_fil.h > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_lookup.h > @@ -29,8 +30,17 @@ > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/unistd.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/wchar.h > +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/altivec.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/float.h > +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/htmintrin.h > +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/htmxlintrin.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/iso646.h > +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/paired.h > +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/ppc-asm.h > +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/ppu_intrinsics.h > +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/si2vmx.h > +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/spe.h > +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/spu2vmx.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdalign.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdarg.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdatomic.h > @@ -42,7 +52,7 @@ > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdnoreturn.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/tgmath.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/varargs.h > -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/visintrin.h > +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/vec_types.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/fixinc_list > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/gsyslimits.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/include/README > @@ -104,12 +114,15 @@ > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/%%OPSYS%%-std= int.h > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/%%OPSYS%%.h > = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/initfini-arra= y.h > = -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/%%OPSY= S%%.h > = -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc-= opts.h > = -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc-= protos.h > = -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc.= h > = -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sysv4.= h > = -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/vxworks-dumm= y.h > = +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/defau= lt64.h > = +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/%%OPS= YS%%64.h > = +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/optio= n-defaults.h > = +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs600= 0-builtin.def > = +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs600= 0-cpus.def > = +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs600= 0-opts.h > = +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs600= 0-protos.h > = +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs600= 0.h > = +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/sysv4= .h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/configargs.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/context.h > lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/convert.h With those things in place the base/gcc build completed. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Wed Nov 9 09:57:05 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56FF2C36AA8; Wed, 9 Nov 2016 09:57:05 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 DV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 222C91F3; Wed, 9 Nov 2016 09:57:04 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from [192.168.1.65] (host81-157-246-94.range81-157.btcentralplus.com [81.157.246.94]) (authenticated bits=0) by theravensnest.org (8.15.2/8.15.2) with ESMTPSA id uA99utbf019101 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Nov 2016 09:56:57 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: theravensnest.org: Host host81-157-246-94.range81-157.btcentralplus.com [81.157.246.94] claimed to be [192.168.1.65] Content-Type: multipart/signed; boundary="Apple-Mail=_07EAA596-9DD0-4B01-AE13-2A736414C255"; protocol="application/pkcs7-signature"; micalg=sha1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: base/binutils (from ports/head -r424540) requires "gcc" to be a valid command on the host environment From: David Chisnall In-Reply-To: Date: Wed, 9 Nov 2016 09:56:48 +0000 Cc: FreeBSD Toolchain , FreeBSD PowerPC ML Message-Id: References: To: Mark Millard X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 09:57:05 -0000 --Apple-Mail=_07EAA596-9DD0-4B01-AE13-2A736414C255 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 9 Nov 2016, at 03:33, Mark Millard wrote: >=20 > base/binutils for my attempted powerpc64 cross build target [from = amd64 head -r308247M] failed for lack of a "gcc=E2=80=9D: OS X (sorry, macOS) works around this by installing gcc as a symlink to = clang. I wonder if that=E2=80=99s something that we should start doing. David --Apple-Mail=_07EAA596-9DD0-4B01-AE13-2A736414C255 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIK5jCCBPww ggPkoAMCAQICECJrrb9nBol9MHok/UZg/AYwDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCSUwx FjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g QXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQTAeFw0xNjA0MTkw OTI3NDJaFw0xNzA0MTkwOTI3NDJaMEQxHTAbBgNVBAMMFHRoZXJhdmVuQGZyZWVic2Qub3JnMSMw IQYJKoZIhvcNAQkBFhR0aGVyYXZlbkBmcmVlYnNkLm9yZzCCASIwDQYJKoZIhvcNAQEBBQADggEP ADCCAQoCggEBALsL5pEhrGjrswHVdMHWhgxb8ARKDYRePSqpDLmjJ40bpx+n1zrvIwjC2Vk2IpoD 04rg5Pog2IrhnX+Qk2NSXzBXWj2JAaTc9OtSeAY0BtgJYXONGONQbRKVy97QBdzd1SbMEzDrOgH5 UDI+5sF1PboOTmLyTAPI9273XdfZ0BnstUXs8NXr/7p9E5CWJOsO1iQcINbm4XiwC1PLNMeWUknE Nji/hFKwcE8IFtaUe1ymbw6yA3rBpDu3KewIRD1T66FPTZJeIzvUoBIqWd+GAOfCBG2QYmbc3y/x K2hCtcXThcB1uVFA2q39koLKA8wHyqv4Jhm3wzhAqKDsWK4bGW0CAwEAAaOCAbcwggGzMA4GA1Ud DwEB/wQEAwIEsDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwCQYDVR0TBAIwADAdBgNV HQ4EFgQU5J3Kc8GeW8pEGxBkcMoA7eUOPRwwHwYDVR0jBBgwFoAUJIFsOWG+SQ+PtxtGK8kotSdI bWgwbwYIKwYBBQUHAQEEYzBhMCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5zdGFydHNzbC5jb20w OQYIKwYBBQUHMAKGLWh0dHA6Ly9haWEuc3RhcnRzc2wuY29tL2NlcnRzL3NjYS5jbGllbnQxLmNy dDA4BgNVHR8EMTAvMC2gK6AphidodHRwOi8vY3JsLnN0YXJ0c3NsLmNvbS9zY2EtY2xpZW50MS5j cmwwHwYDVR0RBBgwFoEUdGhlcmF2ZW5AZnJlZWJzZC5vcmcwIwYDVR0SBBwwGoYYaHR0cDovL3d3 dy5zdGFydHNzbC5jb20vMEYGA1UdIAQ/MD0wOwYLKwYBBAGBtTcBAgUwLDAqBggrBgEFBQcCARYe aHR0cDovL3d3dy5zdGFydHNzbC5jb20vcG9saWN5MA0GCSqGSIb3DQEBCwUAA4IBAQBSBDH+kZf5 bZkNFcMSPdfnGC7F8utBIxs2bi3JQjsBoQTm1vnXdwgINSfO9At6iQZHoEyj8ZE6PcMFuEU0+bk0 aE8aYcW59WnxfWx943upZoMhX0YVaJcFK01EHFrddRAP44sh7Eu6JtdFuAG+6btDReMcg35Qm65X 7/280aVm7awadJ+IQs8r9qBVk2NFqkvHCETtJjNWXd7M6mcsfXstvykbubPQH/VNW/zrX6yzIcI4 aoz+Sn8RJmHNkk6cImqe1KvsdDLXmqCoeoMwos62pT18RaI//jwTdmnf5EHFMlevnxOr7rzA++71 OSZfdYf6+nvHOod1F721rNuy6lxFMIIF4jCCA8qgAwIBAgIQa6eKfQrXiNZRCvlZ5Oe04TANBgkq hkiG9w0BAQsFADB9MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UE CxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3RhcnRDb20g Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTUxMjE2MDEwMDA1WhcNMzAxMjE2MDEwMDA1WjB1 MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEpMCcGA1UECxMgU3RhcnRDb20g Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0Q29tIENsYXNzIDEgQ2xpZW50 IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvX3a98OifYP2W4L921tfrh4bdcC1 Ga+YJKy7V3nYNewJHnzMlBsK0Hb8Dm4Wo3FZpylcYa1MJGT10QMGWaLER3xCIuRR+8eklf/EqeZW RLojJ7zBRtjMywPOCelrOU+DX12dKp+Ez4J6919rz1UudTO1GvZyCYJ/I7062uHsskM8b7gPxmcC oO1UHwwpgkvpCArJWGFoFzjLdsZbErJcS3HtAhlkbE/BKTMrdYg35Uo12SLBO5tbk8h2imbKTC8i Ms+pskrvI/AVlh6QoTTXk6xboVX6zgMgzxSVVLymQiygYYm0y5aMsvi2raFhC643SOGvErWWPPnS EfbeAD1xswIDAQABo4IBZDCCAWAwDgYDVR0PAQH/BAQDAgEGMB0GA1UdJQQWMBQGCCsGAQUFBwMC BggrBgEFBQcDBDASBgNVHRMBAf8ECDAGAQH/AgEAMDIGA1UdHwQrMCkwJ6AloCOGIWh0dHA6Ly9j cmwuc3RhcnRzc2wuY29tL3Nmc2NhLmNybDBmBggrBgEFBQcBAQRaMFgwJAYIKwYBBQUHMAGGGGh0 dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbTAwBggrBgEFBQcwAoYkaHR0cDovL2FpYS5zdGFydHNzbC5j b20vY2VydHMvY2EuY3J0MB0GA1UdDgQWBBQkgWw5Yb5JD4+3G0YrySi1J0htaDAfBgNVHSMEGDAW gBROC+8apEBbpRdphzDKNGhD0EGu8jA/BgNVHSAEODA2MDQGBFUdIAAwLDAqBggrBgEFBQcCARYe aHR0cDovL3d3dy5zdGFydHNzbC5jb20vcG9saWN5MA0GCSqGSIb3DQEBCwUAA4ICAQCL4/eH7AGL hK0PAQJbnOEjJyMEvTTwcAJuUh/bodjQl06u4putYOxdSyIjSP/sKt+31LmjG8+IO1WqykE4H/Lm 7NKezWVnCHuwb3ptgFmlwbMbGkU2MOZBtwzfKXdYUhFLhaE2uw5jXhXvLYitQay962wP5uPI6eAI hV4L8aaya1u4s7MnrTq0Rz25FuGNO79vTHYWj797tSRC8rM16js4yGKOLFpQvIg0F8IElv57b1st p+C7omqM5Qn15dePbSnqr8Jb65WtmJJbnv6rlqfY/aLuE/zmNAlzLmPgfMDStKIXdg+EoYBZTEo8 wBUaBxihfNbJ069ndQOxMNNqBelEMgpAtmjTbCuXFjqIwWq+XOx6ZV/Wh2FAmaLsSHlNvEjjSQMZ wE4EeHCdo66ZmEs/5JYlCeOkulKVQ6P3m5/XOj2jP17Q2AgmjP+11+sHN7PvrG0OwrQp9QMe3X+r n0G8MjtFfqBWvR9CgLIxzM3MJNxFdgdjS2rYnShP5uxvqwfZvhZVYCIkqdJhpYON0DvSodfiar0w iM79mySZJjzC0CTbiisBzS/BeBhqeo2wFfli/iw3hn1XKvAx0ty6w/scmBF0AYqmRHYj1TjMSw0l Al7AztLglqWjUPI+sukvadMRPxmtKXlS2nVR4an/Z16imsZ69+fFYH68c1CK7zmjozGCA04wggNK AgEBMIGJMHUxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBT dGFydENvbSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3Mg MSBDbGllbnQgQ0ECECJrrb9nBol9MHok/UZg/AYwCQYFKw4DAhoFAKCCAZkwGAYJKoZIhvcNAQkD MQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTYxMTA5MDk1NjQ5WjAjBgkqhkiG9w0BCQQx FgQUFXgIp671OXWSYZsWT00l2mzmYXswgZoGCSsGAQQBgjcQBDGBjDCBiTB1MQswCQYDVQQGEwJJ TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEpMCcGA1UECxMgU3RhcnRDb20gQ2VydGlmaWNhdGlv biBBdXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0Q29tIENsYXNzIDEgQ2xpZW50IENBAhAia62/ZwaJ fTB6JP1GYPwGMIGcBgsqhkiG9w0BCRACCzGBjKCBiTB1MQswCQYDVQQGEwJJTDEWMBQGA1UEChMN U3RhcnRDb20gTHRkLjEpMCcGA1UECxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkx IzAhBgNVBAMTGlN0YXJ0Q29tIENsYXNzIDEgQ2xpZW50IENBAhAia62/ZwaJfTB6JP1GYPwGMA0G CSqGSIb3DQEBAQUABIIBACWi0/ERcjzaBzJGw+vsEc5BaRgm1/EVWJCwKBi3NJ1ntUyonvKKd7LV yAjSjj9OOwuNCVhv6Fcperj4k16fjwWdd2snAXYjS04iPhJAhO6m4EgYzKMjvq8weIelQcbOqjlx lyUwmucm4hW3IAIhyFvgVKYYrudjzI9LcUL61CiV3C9pzsNAGzkq6D2pYrAjkup0Oond267Hwldx AFcM1MHnXPap8bmn6tsvG/OtyIg2WBNi7Y5nCcwdqdPwCwdvzs/EdAsrUqWVW68fRzwyjLzDRgU0 XVOE2COTOsxaDXkp1LBT/tQDusX6EKdTjWjqCOZKNBgt0Ge7PnAZx3aetlwAAAAAAAA= --Apple-Mail=_07EAA596-9DD0-4B01-AE13-2A736414C255-- From owner-freebsd-ppc@freebsd.org Wed Nov 9 11:36:25 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EEBAC3883A for ; Wed, 9 Nov 2016 11:36:25 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-56.reflexion.net [208.70.210.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E794E97E for ; Wed, 9 Nov 2016 11:36:24 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 3127 invoked from network); 9 Nov 2016 11:37:16 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 9 Nov 2016 11:37:16 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Wed, 09 Nov 2016 06:36:22 -0500 (EST) Received: (qmail 15532 invoked from network); 9 Nov 2016 11:36:22 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 9 Nov 2016 11:36:22 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 61248EC7B39; Wed, 9 Nov 2016 03:36:17 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: base/binutils (from ports/head -r424540) requires "gcc" to be a valid command on the host environment From: Mark Millard In-Reply-To: Date: Wed, 9 Nov 2016 03:36:16 -0800 Cc: FreeBSD Toolchain , FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: To: David Chisnall X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 11:36:25 -0000 On 2016-Nov-9, at 1:56 AM, David Chisnall = wrote: > On 9 Nov 2016, at 03:33, Mark Millard wrote: >>=20 >> base/binutils for my attempted powerpc64 cross build target [from = amd64 head -r308247M] failed for lack of a "gcc=E2=80=9D: >=20 > OS X (sorry, macOS) works around this by installing gcc as a symlink = to clang. I wonder if that=E2=80=99s something that we should start = doing. >=20 > David clang and clang++ 3.8.0 do not work correctly for powerpc64 or powerpc = for FreeBSD: various forms of bad code generation and ABI violations. No = version works yet as far as I know. (There has been some recent work on this in = llvm but some of it has not been put in the FreeBSD clang/clang++ 3.9.0 = experiment so far.) (I sometimes experiment with clang/clang++ on powerpc and analyze the = problems and submit reports of the ones that I find.) powerpc64 and powerpc also do not have prebuilt packages, not even just = one for pkg itself. This makes getting both a C/C++ compiler set and pkg in place a bit of a = mess even for a cross-built bootstrap: A) pkg on the target needs to be built by a C/C++ compiler toolchain. B) /usr/ports/base/gcc usage for getting a compiler toolchain on the = target works by putting a .txz file in place for use via pkg add = . =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Wed Nov 9 12:19:40 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67F5CC37F2F for ; Wed, 9 Nov 2016 12:19:40 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-56.reflexion.net [208.70.210.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 290B16CD for ; Wed, 9 Nov 2016 12:19:39 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 19425 invoked from network); 9 Nov 2016 12:20:37 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 9 Nov 2016 12:20:37 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Wed, 09 Nov 2016 07:19:43 -0500 (EST) Received: (qmail 23789 invoked from network); 9 Nov 2016 12:19:43 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 9 Nov 2016 12:19:43 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 7F081EC881E; Wed, 9 Nov 2016 04:19:37 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: base/gcc (from ports/head -r424540) lookups do not match base/binutils 's /usr/powerpc64-freebsd/bin/ld or /usr/bin/ld (ld example) Message-Id: <432CF4F5-ECC1-4573-AE32-74E7B88E2624@dsl-only.net> Date: Wed, 9 Nov 2016 04:19:36 -0800 To: FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 12:19:40 -0000 The gcc (and cc) from base/gcc 's freebsd-gcc-5.4.0.txz for powerpc64 = (via cross builds) by default can not find ld from either the system ( = /usr/bin/ld ) or from base/binutils 's FreeBSD-binutils-2.25.1_3,1.txz = expanded content : > # cc main.c > collect2: fatal error: cannot find 'ld' > compilation terminated. Before showing truss output that reports for where ld is searched for: = here is were it actually is (along with some other files that match the = pattern that I used): > # find / -name "*ld" -print | grep "[/-]ld$" > /usr/src/contrib/netbsd-tests/usr.bin/ld > /usr/src/contrib/binutils/ld > /usr/src/gnu/usr.bin/binutils/ld > /usr/bin/ld > /usr/ports/devel/bcc/files/patch-ld > /usr/powerpc64-freebsd/bin/ld (The "env ABI=3DFreeBSD:12:powerpc64 pkg-static add = FreeBSD-binutils-2.25.1_3,1.txz" generated that last line's file.) The "truss -f output cc main.c" output shows none of those paths being = involved. It does show a stat for: > /usr/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld and another for: > /bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld among others. (ld is not the only thing with such a naming convention = for what is before the tool's base name.) None of the paths end in "/ld" = : all end in "-ld". None of the lookups are directly in /usr either: if = /usr is involved in the path then so is at least one subdirectory. The truss "ld" lookup reports are included in the output below, they are = all not-found failures: > # truss -f cc main.c 2>&1 | grep '[/-]ld"'=20 > 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/real-ld",0xffff= ffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/real-ld",0xffff= ffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/real-ld",0xffffffffff= ffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/real-ld",0xffffffff= ffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/real-ld",0xffffffffffffd2= f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/collect-ld",0xf= fffffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/collect-ld",0xf= fffffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/collect-ld",0xfffffff= fffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/collect-ld",0xfffff= fffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/collect-ld",0xfffffffffff= fd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/powerpc64-freeb= sd-ld",0xffffffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/powerpc64-freeb= sd-ld",0xffffffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/powerpc64-freebsd-ld"= ,0xffffffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/powerpc64-freebsd-l= d",0xffffffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/powerpc64-freebsd-ld",0xf= fffffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/sbin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0xffffffff= ffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0xfffffffff= fffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/sbin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0xffff= ffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0xfffff= fffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/local/sbin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",= 0xffffffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/usr/local/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0= xffffffffffffd2f8) ERR#2 'No such file or directory' > 2873: = stat("/home/markmi/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld"= ,0xffffffffffffd2f8) ERR#2 'No such file or directory' =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Wed Nov 9 12:37:57 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CE5FC36770 for ; Wed, 9 Nov 2016 12:37:57 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-53.reflexion.net [208.70.210.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A7AC26C for ; Wed, 9 Nov 2016 12:37:55 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 18335 invoked from network); 9 Nov 2016 12:38:53 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 9 Nov 2016 12:38:53 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Wed, 09 Nov 2016 07:38:04 -0500 (EST) Received: (qmail 21781 invoked from network); 9 Nov 2016 12:38:03 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 9 Nov 2016 12:38:03 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 0A105EC8F04; Wed, 9 Nov 2016 04:37:54 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Bootstrapping a powerpc64 vs. pkg vs. base/gcc (via cross compiles) Message-Id: Date: Wed, 9 Nov 2016 04:37:53 -0800 To: FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 12:37:57 -0000 I really wish that TARGET_ARCH=3Dpowerpc64 had a tiny package repository with one item: pkg itself so that a standard bootstrap for pkg would = work. Why? A) pkg on the target needs to be built by a C/C++ compiler toolchain as things are. B) /usr/ports/base/gcc usage for getting a compiler toolchain on the = target works by putting a .txz file in place for use via pkg add = =20 in the target environment. A similar point would go for TARGET_ARCH=3Dpowerpc . (Part of the issue is that clang/clang++ in 3.8.0 and even 3.9.0 so far is not yet appropriate for general use for powerpc64 or for powerpc, = such as incorrect code generation --and ABI violations for powerpc. FreeBSD's 3.9.0 experiment still has a couple of the llvm fixes not in place and llvm does not have everything fixed yet.) =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Wed Nov 9 14:27:57 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A302C38D89 for ; Wed, 9 Nov 2016 14:27:57 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-54.reflexion.net [208.70.210.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 104AAD7B for ; Wed, 9 Nov 2016 14:27:55 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 3332 invoked from network); 9 Nov 2016 14:27:51 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 9 Nov 2016 14:27:51 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Wed, 09 Nov 2016 09:27:59 -0500 (EST) Received: (qmail 8113 invoked from network); 9 Nov 2016 14:27:58 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 9 Nov 2016 14:27:58 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 0A499EC8F93; Wed, 9 Nov 2016 06:27:54 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: base/gcc (from ports/head -r424540) lookups do not match base/binutils 's /usr/powerpc64-freebsd/bin/ld or /usr/bin/ld (ld example) Date: Wed, 9 Nov 2016 06:27:53 -0800 References: <432CF4F5-ECC1-4573-AE32-74E7B88E2624@dsl-only.net> To: FreeBSD Toolchain , FreeBSD PowerPC ML In-Reply-To: <432CF4F5-ECC1-4573-AE32-74E7B88E2624@dsl-only.net> Message-Id: <0B654323-C75A-484B-A4E8-E32AD4DD7479@dsl-only.net> X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 14:27:57 -0000 [Note: By the end of the later additional material "cc main.c" actually = works based on cc being from base/gcc used for TARGET_ARCH=3Dpowerpc64 = .] On 2016-Nov-9, at 4:19 AM, Mark Millard wrote: > The gcc (and cc) from base/gcc 's freebsd-gcc-5.4.0.txz for powerpc64 = (via cross builds) by default can not find ld from either the system ( = /usr/bin/ld ) or from base/binutils 's FreeBSD-binutils-2.25.1_3,1.txz = expanded content : >=20 >> # cc main.c >> collect2: fatal error: cannot find 'ld' >> compilation terminated. >=20 > Before showing truss output that reports for where ld is searched for: = here is were it actually is (along with some other files that match the = pattern that I used): >=20 >> # find / -name "*ld" -print | grep "[/-]ld$" >> /usr/src/contrib/netbsd-tests/usr.bin/ld >> /usr/src/contrib/binutils/ld >> /usr/src/gnu/usr.bin/binutils/ld >> /usr/bin/ld >> /usr/ports/devel/bcc/files/patch-ld >> /usr/powerpc64-freebsd/bin/ld >=20 > (The "env ABI=3DFreeBSD:12:powerpc64 pkg-static add = FreeBSD-binutils-2.25.1_3,1.txz" generated that last line's file.) >=20 > The "truss -f output cc main.c" output shows none of those paths being = involved. It does show a stat for: >=20 >> /usr/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld >=20 > and another for: >=20 >> /bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld >=20 > among others. (ld is not the only thing with such a naming convention = for what is before the tool's base name.) None of the paths end in "/ld" = : all end in "-ld". None of the lookups are directly in /usr either: if = /usr is involved in the path then so is at least one subdirectory. >=20 > The truss "ld" lookup reports are included in the output below, they = are all not-found failures: >=20 >> # truss -f cc main.c 2>&1 | grep '[/-]ld"'=20 >> 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/real-ld",0xffff= ffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/real-ld",0xffff= ffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/real-ld",0xffffffffff= ffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/real-ld",0xffffffff= ffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/real-ld",0xffffffffffffd2= f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/collect-ld",0xf= fffffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/collect-ld",0xf= fffffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/collect-ld",0xfffffff= fffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/collect-ld",0xfffff= fffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/collect-ld",0xfffffffffff= fd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/powerpc64-freeb= sd-ld",0xffffffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/5.4.0/powerpc64-freeb= sd-ld",0xffffffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/libexec/gcc/powerpc64-portbld-freebsd12.0/powerpc64-freebsd-ld"= ,0xffffffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/powerpc64-freebsd-l= d",0xffffffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/powerpc64-freebsd-ld",0xf= fffffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/sbin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0xffffffff= ffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0xfffffffff= fffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/sbin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0xffff= ffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0xfffff= fffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/local/sbin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",= 0xffffffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/usr/local/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0= xffffffffffffd2f8) ERR#2 'No such file or directory' >> 2873: = stat("/home/markmi/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld"= ,0xffffffffffffd2f8) ERR#2 'No such file or directory' >=20 >=20 >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net Other files' naming differences are not necessarily the same so I list = some for reference. First: all the "truss -f cc main.c" references to /usr/bin/ are: > # truss -f cc main.c 2>&1 | grep /usr/bin/ > 3040: access("/usr/bin/cc",X_OK) =3D 0 (0x0) > 3040: stat("/usr/bin/cc",{ mode=3D-r-xr-xr-x = ,inode=3D21028101,size=3D2628488,blksize=3D32768 }) =3D 0 (0x0) > 3040: lstat("/usr/bin/cc",{ mode=3Dlrwxr-xr-x = ,inode=3D21028094,size=3D33,blksize=3D32768 }) =3D 0 (0x0) > 3040: = readlink("/usr/bin/cc","powerpc64-portbld-freebsd12.0-gcc",1023) =3D 33 = (0x21) > 3040: lstat("/usr/bin/powerpc64-portbld-freebsd12.0-gcc",{ = mode=3D-r-xr-xr-x ,inode=3D21028101,size=3D2628488,blksize=3D32768 }) =3D = 0 (0x0) > 3040: access("/usr/bin/cc",X_OK) =3D 0 (0x0) > 3040: stat("/usr/bin/cc",{ mode=3D-r-xr-xr-x = ,inode=3D21028101,size=3D2628488,blksize=3D32768 }) =3D 0 (0x0) > 3040: lstat("/usr/bin/cc",{ mode=3Dlrwxr-xr-x = ,inode=3D21028094,size=3D33,blksize=3D32768 }) =3D 0 (0x0) > 3040: = readlink("/usr/bin/cc","powerpc64-portbld-freebsd12.0-gcc",1023) =3D 33 = (0x21) > 3040: lstat("/usr/bin/powerpc64-portbld-freebsd12.0-gcc",{ = mode=3D-r-xr-xr-x ,inode=3D21028101,size=3D2628488,blksize=3D32768 }) =3D = 0 (0x0) > 3042: execve("/usr/bin/as",0x506600c8,0x50668000) =3D 8 (0x8) > 3043: = stat("/usr/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld",0xfffff= fffffffd2b8) ERR#2 'No such file or directory' > 3043: = stat("/usr/bin/powerpc64-portbld-freebsd12.0-gnm",0xffffffffffffd2b8) = ERR#2 'No such file or directory' > 3043: = stat("/usr/bin/powerpc64-portbld-freebsd12.0-nm",0xffffffffffffd2b8) = ERR#2 'No such file or directory' > 3043: = stat("/usr/bin/powerpc64-portbld-freebsd12.0-gstrip",0xffffffffffffd2b8) = ERR#2 'No such file or directory' > 3043: = stat("/usr/bin/powerpc64-portbld-freebsd12.0-strip",0xffffffffffffd2b8) = ERR#2 'No such file or directory' > 3043: stat("/usr/bin/cc",{ mode=3D-r-xr-xr-x = ,inode=3D21028101,size=3D2628488,blksize=3D32768 }) =3D 0 (0x0) > 3043: access("/usr/bin/cc",X_OK) =3D 0 (0x0) By contrast what is in the file system for the failing references above = (pd, nm, strip) is: > # find / -name "*ld" -print | grep "[/-]ld$" > /usr/src/contrib/netbsd-tests/usr.bin/ld > /usr/src/contrib/binutils/ld > /usr/src/gnu/usr.bin/binutils/ld > /usr/bin/ld > /usr/ports/devel/bcc/files/patch-ld > /usr/powerpc64-freebsd/bin/ld Compare that last to what the stat from the truss run shows: > /usr/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld > # find / -name "*gnm" -print | grep "[/-]gnm$" (Yep: no gnm: nm used instead.) > # find / -name "*nm" -print | grep "[/-]nm$" > /usr/src/contrib/llvm/tools/llvm-nm > /usr/src/contrib/elftoolchain/nm > /usr/src/usr.bin/clang/llvm-nm > /usr/src/usr.bin/nm > /usr/bin/nm > /usr/bin/llvm-nm > /usr/bin/powerpc64-portbld-freebsd12.0-gcc-nm Compare that last to what the stat from the truss run shows: > /usr/bin/powerpc64-portbld-freebsd12.0-nm > # find / -name "*gstrip" -print | grep "[/-]gstrip$" (Yep: no gstrip: strip used instead.) > # find / -name "*strip" -print | grep "[/-]strip$" > /usr/bin/strip Compare that to what the stat from the truss run shows: > /usr/bin/powerpc64-portbld-freebsd12.0-strip In my context the system cross build made its own powerpc64 binutils. /usr/bin/strip is not from base/binutils : > # zcat FreeBSD-binutils-2.25.1_3,1.txz | tar -tf - | grep strip > # (No match.) So adding what is missing (result shown): > # ls -lt /usr/bin/ | head > total 608956 > lrwxr-xr-x 1 root wheel 14 Nov 9 05:38 = powerpc64-portbld-freebsd12.0-strip -> /usr/bin/strip > lrwxr-xr-x 1 root wheel 36 Nov 9 05:38 = powerpc64-portbld-freebsd12.0-nm -> powerpc64-portbld-freebsd12.0-gcc-nm > lrwxr-xr-x 1 root wheel 29 Nov 9 05:19 = powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld -> = /usr/powerpc64-freebsd/bin/ld > lrwxr-xr-x 1 root wheel 33 Nov 8 21:51 c++ -> = powerpc64-portbld-freebsd12.0-g++ > lrwxr-xr-x 1 root wheel 33 Nov 8 21:51 cc -> = powerpc64-portbld-freebsd12.0-gcc > lrwxr-xr-x 1 root wheel 33 Nov 8 21:51 cpp -> = powerpc64-portbld-freebsd12.0-cpp > lrwxr-xr-x 1 root wheel 33 Nov 8 21:51 g++ -> = powerpc64-portbld-freebsd12.0-g++ > lrwxr-xr-x 1 root wheel 33 Nov 8 21:51 gcc -> = powerpc64-portbld-freebsd12.0-gcc > lrwxr-xr-x 1 root wheel 34 Nov 8 21:51 gcov -> = powerpc64-portbld-freebsd12.0-gcov > #=20 leads to ld being found in a cc but ld not finding the libraries it = needs, here: > # cc main.c > /usr/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld: cannot = find crt1.o: No such file or directory > /usr/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld: cannot = find crti.o: No such file or directory > /usr/bin/powerpc64-portbld-freebsd12.0-powerpc64-freebsd-ld: cannot = find crtbegin.o: No such file or directory > collect2: error: ld returned 1 exit status In the file system are the following (more than just crt1.o , crti.o , = and crtbegin.o shown): > # find / -name "*crt*.o" -print > /usr/lib/crtend.o > /usr/lib/crti.o > /usr/lib/Scrt1.o > /usr/lib/crtbegin.o > /usr/lib/crtbeginT.o > /usr/lib/crtn.o > /usr/lib/crtendS.o > /usr/lib/crtbeginS.o > /usr/lib/crt1.o > /usr/lib/crtsavres.o > /usr/lib/gcrt1.o "truss -f cc main.cc" shows that one of /usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/ or: = /usr/powerpc64-portbld-freebsd12.0/lib/powerpc64-portbld-freebsd12.0/5.4.0= / or: /usr/powerpc64-portbld-freebsd12.0/lib/ is expected in order to find crt1.o or crti.o or crtbegin.o or crtend.o = or crtn.o : (I did any ../ collapsing above) > # truss -f cc main.c 2>&1 | grep crt > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/crt1.o",R_OK) = ERR#2 'No such file or directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../power= pc64-portbld-freebsd12.0/lib/powerpc64-portbld-freebsd12.0/5.4.0/crt1.o",R= _OK) ERR#2 'No such file or directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../power= pc64-portbld-freebsd12.0/lib/crt1.o",R_OK) ERR#2 'No such file or = directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/crti.o",R_OK) = ERR#2 'No such file or directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../power= pc64-portbld-freebsd12.0/lib/powerpc64-portbld-freebsd12.0/5.4.0/crti.o",R= _OK) ERR#2 'No such file or directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../power= pc64-portbld-freebsd12.0/lib/crti.o",R_OK) ERR#2 'No such file or = directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/crtbegin.o",R_OK)= ERR#2 'No such file or directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../power= pc64-portbld-freebsd12.0/lib/powerpc64-portbld-freebsd12.0/5.4.0/crtbegin.= o",R_OK) ERR#2 'No such file or directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../power= pc64-portbld-freebsd12.0/lib/crtbegin.o",R_OK) ERR#2 'No such file or = directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/crtend.o",R_OK) = ERR#2 'No such file or directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../power= pc64-portbld-freebsd12.0/lib/powerpc64-portbld-freebsd12.0/5.4.0/crtend.o"= ,R_OK) ERR#2 'No such file or directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../power= pc64-portbld-freebsd12.0/lib/crtend.o",R_OK) ERR#2 'No such file or = directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/crtn.o",R_OK) = ERR#2 'No such file or directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../power= pc64-portbld-freebsd12.0/lib/powerpc64-portbld-freebsd12.0/5.4.0/crtn.o",R= _OK) ERR#2 'No such file or directory' > 3138: = access("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../power= pc64-portbld-freebsd12.0/lib/crtn.o",R_OK) ERR#2 'No such file or = directory' > 3142: open("crt1.o",O_RDONLY,0666) ERR#2 'No such file or = directory' > 3142: write(2,"crt1.o",6) =3D 6 (0x6) > 3142: open("crti.o",O_RDONLY,0666) ERR#2 'No such file or = directory' > 3142: write(2,"crti.o",6) =3D 6 (0x6) > 3142: open("crtbegin.o",O_RDONLY,0666) ERR#2 'No such = file or directory' > 3142: write(2,"crtbegin.o",10) =3D 10 (0xa) > 3141: access("crt1.rpo",R_OK) ERR#2 'No such = file or directory' > 3141: access("crti.rpo",R_OK) ERR#2 'No such = file or directory' > 3141: access("crtbegin.rpo",R_OK) ERR#2 'No such file or = directory' > 3141: access("crtend.rpo",R_OK) ERR#2 'No such file or = directory' > 3141: access("crtn.rpo",R_OK) ERR#2 'No such = file or directory' > crt1.o 3141: write(2,"crt1.o",6) =3D 6 (0x6) > crti.o 3141: write(2,"crti.o",6) =3D 6 (0x6) > crtbegin.o 3141: write(2,"crtbegin.o",10) =3D 10 = (0xa) For reference: > # ls -l /usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/ > total 16 > drwxr-xr-x 2 root wheel 1024 Nov 9 02:31 include > drwxr-xr-x 5 root wheel 512 Nov 9 02:31 include-fixed > drwxr-xr-x 3 root wheel 512 Nov 9 02:31 install-tools > drwxr-xr-x 3 root wheel 512 Nov 9 02:31 plugin > # ls -l /usr/powerpc64-portbld-freebsd12.0/ > ls: /usr/powerpc64-portbld-freebsd12.0/: No such file or directory (So there is no /usr/powerpc64-portbld-freebsd12.0/lib/ or = /usr/powerpc64-portbld-freebsd12.0/lib/powerpc64-portbld-freebsd12.0/5.4.0= / to look in.) Hacking in: > # ls -dl /usr/powerpc64-portbld-freebsd12.0 > lrwxr-xr-x 1 root wheel 4 Nov 9 06:19 = /usr/powerpc64-portbld-freebsd12.0 -> /usr results in cc main.c finally producing an a.out like it should. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Wed Nov 9 15:58:32 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C06CC376C3 for ; Wed, 9 Nov 2016 15:58:32 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-55.reflexion.net [208.70.210.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D76D2DA for ; Wed, 9 Nov 2016 15:58:31 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 15017 invoked from network); 9 Nov 2016 15:58:26 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 9 Nov 2016 15:58:26 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Wed, 09 Nov 2016 10:58:39 -0500 (EST) Received: (qmail 17391 invoked from network); 9 Nov 2016 15:58:39 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 9 Nov 2016 15:58:39 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 46F9AEC9186; Wed, 9 Nov 2016 07:58:29 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: c++ (g++) from base/gcc (via cross build) does not find C++ standard headers, such as cstdlib Message-Id: <5D62C0E6-E6B7-42F5-B74B-8F555C154449@dsl-only.net> Date: Wed, 9 Nov 2016 07:58:28 -0800 To: FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 15:58:32 -0000 This was noticed via trying to build benchmarks/bonnie++ (via = portmaster): > --- bon_csv2html.o --- > c++ -pipe -g -fno-strict-aliasing -DNDEBUG -Wall -W -Wshadow = -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align = -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswit > ch-enum -Winit-self -pipe -g -fno-strict-aliasing -c = bon_csv2html.cpp -o bon_csv2html.o . . . > --- bon_csv2html.o --- > bon_csv2html.cpp:2:19: fatal error: cstdlib: No such file or directory > compilation terminated. > *** [bon_csv2html.o] Error code 1 >=20 > make[2]: stopped in = /usr/obj/portswork/usr/ports/benchmarks/bonnie++/work/bonnie++-1.97.2 > --- bonnie++.o --- > bonnie++.cpp:31:18: fatal error: algo.h: No such file or directory > compilation terminated. In the file system there are: > # find / -name "cstdlib" -print | more = = =20 > /usr/include/c++/v1/tr1/cstdlib > /usr/include/c++/v1/cstdlib > /usr/src/contrib/libc++/include/cstdlib > /usr/src/contrib/libstdc++/include/tr1/cstdlib Using a simpler program: > # c++ main.cc > main.cc:1:19: fatal error: cstdlib: No such file or directory > compilation terminated. "truss -f c++ main.cc" reports for cstdlib references: > # truss -f c++ main.cc 2>&1 | grep cstdlib > 95852: read(3,"#include \n\n// Avoid n"...,1309) =3D 1309 = (0x51d) > 95852: = lstat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include/cstdlib",0= xffffffffffffba20) ERR#2 'No such file or directory' > 95852: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include/cstdlib.gch= ",0xffffffffffffcbd8) ERR#2 'No such file or directory' > 95852: = openat(AT_FDCWD,"/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include/= cstdlib",O_RDONLY|O_NOCTTY,00) ERR#2 'No such file or directory' > 95852: = lstat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include-fixed/cstd= lib",0xffffffffffffba20) ERR#2 'No such file or directory' > 95852: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include-fixed/cstdl= ib.gch",0xffffffffffffcbd8) ERR#2 'No such file or directory' > 95852: = openat(AT_FDCWD,"/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include-= fixed/cstdlib",O_RDONLY|O_NOCTTY,00) ERR#2 'No such file or directory' > 95852: lstat("/usr/include/cstdlib",0xffffffffffffba20) ERR#2 'No such = file or directory' > 95852: = stat("/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../../../powerpc= 64-portbld-freebsd12.0/include/cstdlib.gch",0xffffffffffffcbd8) ERR#2 = 'No such file or directory' > 95852: = openat(AT_FDCWD,"/usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/../../..= /../powerpc64-portbld-freebsd12.0/include/cstdlib",O_RDONLY|O_NOCTTY,00) = ERR#2 'No such file or directory' > 95852: read(4,"#include \n\n// Avoid n"...,32768) =3D 1309 = (0x51d) > main.cc:1:19: fatal error: cstdlib: No such file or directory So in finding no cstdlib c++ (g++) looks for each of: > /usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include/cstdlib > /usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include/cstdlib.gch > /usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include-fixed/cstdlib > = /usr/lib/gcc/powerpc64-portbld-freebsd12.0/5.4.0/include-fixed/cstdlib.gch= > /usr/include/cstdlib > /usr/powerpc64-portbld-freebsd12.0/include/cstdlib.gch > /usr/powerpc64-portbld-freebsd12.0/include/cstdlib none of which match the file system. No trivially small number of = symbolic links in the file system can cover making all the involved = paths for various headers work (each "include" already exists and has = files). =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Thu Nov 10 19:24:21 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C07CBC3A83C for ; Thu, 10 Nov 2016 19:24:21 +0000 (UTC) (envelope-from tamiji@me.com) Received: from pv35p10im-ztdg05021101.me.com (pv35p10im-ztdg05021101.me.com [17.133.186.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A57CE881; Thu, 10 Nov 2016 19:24:21 +0000 (UTC) (envelope-from tamiji@me.com) Received: from process-dkim-sign-daemon.pv35p10im-ztdg05021101.me.com by pv35p10im-ztdg05021101.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0OGF00300XI22O00@pv35p10im-ztdg05021101.me.com>; Thu, 10 Nov 2016 19:24:14 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1478805854; bh=xGvWtCWXHjB3obHPfh20h/WfsP3oN8V9jAOxwxL2GX0=; h=Content-type:MIME-version:Subject:From:Date:Message-id:To; b=ay5autPvGDQo0LxhAHFQ/xRhzXg7U85oTnI1aspld/8zgIXSzubLJE0HeigYNufoX BHrMomM0kaKnG4ab50UXovc33SpifXm69B0y/c4sc/OG+x84Gtxl5WdMe0bbiLgbxg yh5IG9vqYc78yT1gD93Jh2FMT98ccQDuhaCcRVIKnaq45AGxl4u4RHpN9bpueKtG5O XBSgSuiSFnEPQ34aaYgd0anPNvoTeuyl+QWuNl7t+rsLNnAZQZw59F8B4GyHN5Y4Ix tnMMRyNbxFejWPIuElY0Fph/eIsfw83tweHMWpqC8ThSpM8UAxQdIjRVaRm4VpU/3o UGPJ39KMeUbnw== Received: from [10.0.1.102] (cpe-75-82-81-24.socal.res.rr.com [75.82.81.24]) by pv35p10im-ztdg05021101.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0OGF00OPMXWD1240@pv35p10im-ztdg05021101.me.com>; Thu, 10 Nov 2016 19:24:14 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-10_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1603290000 definitions=main-1611100330 Content-type: text/plain; charset=utf-8 MIME-version: 1.0 (Mac OS X Mail 10.2 \(3253\)) Subject: Re: FreeBSD 11 on PowerBook G4 From: Tamiji Homma In-reply-to: <20161108205349.1b5b26a6@zhabar.knownspace> Date: Thu, 10 Nov 2016 11:24:12 -0800 Cc: freebsd-ppc@freebsd.org Content-transfer-encoding: quoted-printable Message-id: <248A0F3E-7456-4470-83CA-A2FE19759FE9@me.com> References: <9421DD34-95A4-4435-84CB-D9C3A1D52DC5@me.com> <20161108205349.1b5b26a6@zhabar.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3253) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 19:24:21 -0000 Hi Justin, I=E2=80=99ve tried following FreeBSD 12 snapshots from ftp.freebsd.org FreeBSD-12.0-CURRENT-powerpc-20161021-r307747-disc1.iso FreeBSD-12.0-CURRENT-powerpc-20161031-r308137-disc1.iso Both installed OK but both kernels didn=E2=80=99t boot. After kernel = started, screen went blank and nothing. It is different from fatal kernel trap on FreeBSD 11-RELEASE. Is your Oct 31st snap same as what I tried or something different, you = built from the source code? sha256: 01641184c3fc4d434cb475d754c62f2bc2f8b92ffefaf0ffba907bee904b8aa5 = FreeBSD-12.0-CURRENT-powerpc-20161031-r308137-disc1.iso Tammy > On Nov 8, 2016, at 6:53 PM, Justin Hibbits = wrote: >=20 > On Tue, 08 Nov 2016 18:34:09 -0800 > Tamiji Homma wrote: >=20 >> I=E2=80=99ve been running FreeBSD-ppc on PowerBook G4 1GHz/1GB DRAM = since >> 9.1-RC2. I upgraded to 10.2 some time back. It works fine. >>=20 >> I gave it a try 11.0. Installer worked flawlessly but installed >> kernel crash during boot. >>=20 >> Since it reboots spontaneously, I couldn=E2=80=99t write it down. I >> video-captured screen and took a snapshot. >>=20 >> Here is screenshot fatal kernel trap. >> http://www.pbase.com/tammyhomma/image/164488840/original=20 >>=20 >> Anyone seen this? >>=20 >> I also tried Nov. 6th 11-stable snapshot. Kernel crashes at the same >> point. >>=20 >> Thanks. >>=20 >> PS: I installed 10.3 for now and it works. >>=20 >> Tammy >=20 > Hi Tammy, >=20 > Unfortunately, you're in good company with that panic. I've seen that > since at least February on my PowerBook, but haven't made the time to > track it down (11-CURRENT from mid-October 2015 worked fine). On the > bright side, though, 12-CURRENT as of October 31 works fine on my > PowerBook. I still don't have the time to bisect and track down the > cause of the problem or the fix, but if you feel like bisecting and > trying to find the snapshot that fixes the problem, that could help > narrow down where it got fixed, and a fix could be backported to > 11-STABLE. >=20 > - Justin From owner-freebsd-ppc@freebsd.org Thu Nov 10 19:31:10 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD50AC3A9A4 for ; Thu, 10 Nov 2016 19:31:10 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84A4EAB2 for ; Thu, 10 Nov 2016 19:31:10 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-vk0-x22d.google.com with SMTP id w194so212270398vkw.2 for ; Thu, 10 Nov 2016 11:31:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/XKrhYtiJfzUwauVxVIce7bL6CS7NY1esdOtrSw0ZpY=; b=z1JM2MiX7kP/yrJUWYorIzKUDro9aqG1kW6oKLhJGeFdj/sw/8Us6KsMSYZx21qsK8 t0j5UjWRmMh68cnNMPzCFluuLSduRsSXeuAxWK0qrrTtujb4K/uBwDHA6qX9Pr0aP+jL 6O2wDr/lRTrYVG9XOcDi/hQG3z7eYASJu9DWcxA2OYzLRkvWTLi9GC7rlhvZ+B+vNpTQ anSoD80BxzB3OswaX9wMGK8ZZTCqtTi2bsxog4VXQkpAcTTZIDS01iej+jYuuGMv41gl GTcix+rN31fCWPGiUDwF1csoE1S8+xKhJ+GgcJXo/9r+4ix7iytdnCeUayjJ7umB1jSL cf1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=/XKrhYtiJfzUwauVxVIce7bL6CS7NY1esdOtrSw0ZpY=; b=EpFg3QFV2JpxMjLYcZ+XgE9lila3F9lJR+EDhwTgHUEiRn/nqpRud8XBf9nupifwf0 ZOJWdItTeD18XmBs06dMxV1PBT2Utc9vSAaxASVkgPJMExquGEIIL5wZA3ZzAZkfE0/d QXVNLrrHEWjw8c8L6+6UfzuLRegyUaeoD4snvGKaVmUy+REV7LBznUFzjagbcXf2cM2N pEJ6/G1viRDitVT0FYalCrpm55DoF1AgGDBNj+R+YLyunrTzjvFfeNj5MqffjCT7xZ3B WtHQWh5FDP1CaNcgJSH9VUoSA+QWzJWr+IxqJMLDy5VNPD65G3C/cglBwO8boWKAp3Es mb5Q== X-Gm-Message-State: ABUngvd2Hi8IfwwZvjziHL/ubEtlZVNsVuVyhpM93ltTirgxH8QtRkMqmNrSJ1cvo3WYgB1cgq16EcrOkQDsWQ== X-Received: by 10.31.191.194 with SMTP id p185mr4615844vkf.98.1478806269539; Thu, 10 Nov 2016 11:31:09 -0800 (PST) MIME-Version: 1.0 Sender: chmeeedalf@gmail.com Received: by 10.103.150.66 with HTTP; Thu, 10 Nov 2016 11:31:08 -0800 (PST) Received: by 10.103.150.66 with HTTP; Thu, 10 Nov 2016 11:31:08 -0800 (PST) In-Reply-To: <248A0F3E-7456-4470-83CA-A2FE19759FE9@me.com> References: <9421DD34-95A4-4435-84CB-D9C3A1D52DC5@me.com> <20161108205349.1b5b26a6@zhabar.knownspace> <248A0F3E-7456-4470-83CA-A2FE19759FE9@me.com> From: Justin Hibbits Date: Thu, 10 Nov 2016 13:31:08 -0600 X-Google-Sender-Auth: DbZc4hMeYJ4FVWXd0Wc0unHABgo Message-ID: Subject: Re: FreeBSD 11 on PowerBook G4 To: Tamiji Homma Cc: FreeBSD PowerPC ML Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 19:31:10 -0000 Hi Tammy, That is the snapshot I installed. I didn't try on my TiBook, I installed it on a 1.67GHz PowerBook. Try setting at the loader kern.vty=3Dsc, to use syscons instead of it. -Justin On Nov 10, 2016 11:24, "Tamiji Homma" wrote: > Hi Justin, > > I=E2=80=99ve tried following FreeBSD 12 snapshots from ftp.freebsd.org > > FreeBSD-12.0-CURRENT-powerpc-20161021-r307747-disc1.iso > FreeBSD-12.0-CURRENT-powerpc-20161031-r308137-disc1.iso > > Both installed OK but both kernels didn=E2=80=99t boot. After kernel sta= rted, > screen went blank and nothing. > > It is different from fatal kernel trap on FreeBSD 11-RELEASE. > > Is your Oct 31st snap same as what I tried or something different, you > built from the source code? > > sha256: > > 01641184c3fc4d434cb475d754c62f2bc2f8b92ffefaf0ffba907bee904b8aa5 > FreeBSD-12.0-CURRENT-powerpc-20161031-r308137-disc1.iso > > Tammy > > > On Nov 8, 2016, at 6:53 PM, Justin Hibbits wrote= : > > > > On Tue, 08 Nov 2016 18:34:09 -0800 > > Tamiji Homma wrote: > > > >> I=E2=80=99ve been running FreeBSD-ppc on PowerBook G4 1GHz/1GB DRAM si= nce > >> 9.1-RC2. I upgraded to 10.2 some time back. It works fine. > >> > >> I gave it a try 11.0. Installer worked flawlessly but installed > >> kernel crash during boot. > >> > >> Since it reboots spontaneously, I couldn=E2=80=99t write it down. I > >> video-captured screen and took a snapshot. > >> > >> Here is screenshot fatal kernel trap. > >> http://www.pbase.com/tammyhomma/image/164488840/original > >> > >> Anyone seen this? > >> > >> I also tried Nov. 6th 11-stable snapshot. Kernel crashes at the same > >> point. > >> > >> Thanks. > >> > >> PS: I installed 10.3 for now and it works. > >> > >> Tammy > > > > Hi Tammy, > > > > Unfortunately, you're in good company with that panic. I've seen that > > since at least February on my PowerBook, but haven't made the time to > > track it down (11-CURRENT from mid-October 2015 worked fine). On the > > bright side, though, 12-CURRENT as of October 31 works fine on my > > PowerBook. I still don't have the time to bisect and track down the > > cause of the problem or the fix, but if you feel like bisecting and > > trying to find the snapshot that fixes the problem, that could help > > narrow down where it got fixed, and a fix could be backported to > > 11-STABLE. > > > > - Justin > > From owner-freebsd-ppc@freebsd.org Thu Nov 10 21:25:06 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93697C3AD8B for ; Thu, 10 Nov 2016 21:25:06 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-42.reflexion.net [208.70.210.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2BFFD21D for ; Thu, 10 Nov 2016 21:25:05 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 26901 invoked from network); 10 Nov 2016 21:18:49 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 10 Nov 2016 21:18:49 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Thu, 10 Nov 2016 16:18:29 -0500 (EST) Received: (qmail 16436 invoked from network); 10 Nov 2016 21:18:28 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 10 Nov 2016 21:18:28 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 024AEEC881E; Thu, 10 Nov 2016 13:18:23 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: FreeBSD 11 on PowerBook G4 Message-Id: Date: Thu, 10 Nov 2016 13:18:23 -0800 To: tamiji@me.com, Justin Hibbits , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 21:25:06 -0000 Justin Hibbits jhibbits at freebsd.org wrote on Thu Nov 10 19:31:10 UTC = 2016 > Try setting at the loader kern.vty=3Dsc, to use > syscons instead of it. The KERNCONF's GENERIC for powerpc and GENERIC64 for powerpc64 do not = include syscons: -r265868 replaced "device sc" with "device vt" for = GENERIC. As I understand for GENERIC64 such was in part because the PS3 = support was incompatible with having both syscons and vt so syscons was = dropped when vt was added (-r265871): the same sort of replacement. = These changes date back to 2014-May. (SC_OFWFB and SC_DFLT_FONT lines = were also removed when vt was added.) One of the things my personal powerpc64 (PowerMac G5) FreeBSD builds do = beyond the hack for allowing reliable 64-bit G5 booting is to disable = PS3 and enable/include syscons (sc) in addition to vt. (Nathan W. gave = me the hint to do this long ago, to address some large screen handing = issues in vt at the time if I remember right: for the large screen I = could then switch to sc (syscons) instead.) =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Fri Nov 11 08:40:59 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0AF0BC3A293 for ; Fri, 11 Nov 2016 08:40:59 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-47.reflexion.net [208.70.210.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B437419CA for ; Fri, 11 Nov 2016 08:40:57 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 10202 invoked from network); 11 Nov 2016 08:41:55 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 11 Nov 2016 08:41:55 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Fri, 11 Nov 2016 03:41:01 -0500 (EST) Received: (qmail 14069 invoked from network); 11 Nov 2016 08:41:01 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 11 Nov 2016 08:41:01 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id CC825EC7B39; Fri, 11 Nov 2016 00:40:55 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: FYI: head (12-CURRENT) -r308247 on old 466 MHzPowerMac G4 (1 processor/1 core): taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0 Message-Id: Date: Fri, 11 Nov 2016 00:40:55 -0800 To: FreeBSD PowerPC ML , FreeBSD Current X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2016 08:40:59 -0000 When using head -r308247 to boot an old PowerMac G4 466 MHz (single = processor/single core) there are two "taskqgroup_adjust failed cnt" = messages: > # dmesg > Copyright (c) 1992-2016 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights = reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 12.0-CURRENT #0 r308247M: Thu Nov 3 11:39:11 PDT 2016 > = markmi@FreeBSDx64:/usr/obj/powerpcvtsc_clang_gcc421_kernel/powerpc.powerpc= /usr/src/sys/GENERICvtsc-NODBG powerpc > gcc version 4.2.1 20070831 patched [FreeBSD] > cpu0: Motorola PowerPC 7400 revision 2.9, 466.97 MHz > cpu0: Features 9c000000 > cpu0: HID0 8094c0a4 > real memory =3D 1588068352 (1514 MB) > avail memory =3D 1530961920 (1460 MB) > . . . > ATA8-ACS SATA 2.x device > ada0: Serial Number > ada0: 66.700MB/s transfers (UDMA4, PIO 512bytes) > ada0: 114473MB (234441648 512 byte sectors) > taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0 > taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0 > Trying to mount root from ufs:/dev/ufs/FBSDG4Srootfs [rw,noatime]... > gem0: link state changed to DOWN > gem0: link state changed to UP The above is repeatable for the indicated PowerMac, so far always at the = same place in the sequence. The other booted PowerMac's using this SSD have multiple processors (G4 = and G5 examples). None of them has reported such messages so far but = those messages could be unrelated to the processor count for all I = know. This -r308247 build is "stable style" relative to performance choices = for the KERNCONF. And the KERNCONF disables/excludes PS3 and = enables/includes sc (syscons) in addition to the normal vt. I do warn that this is the environment were I experiment with the = problematical-for-powerpc clang/clang++ 3.8.0 for buildworld. Build = kernel is via gcc 4.2.1. The kernel has so-called "red zone" handling = added for signals in order to deal with the clang ABI violations (in the = stack handling). At some point when all the available llvm powerpc-target fixes are in = place I'll switch to the 3.9.0 project if I can. (Similarly for = powerpc64.) =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Fri Nov 11 09:12:18 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6329C39331 for ; Fri, 11 Nov 2016 09:12:18 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-47.reflexion.net [208.70.210.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B75B16F3 for ; Fri, 11 Nov 2016 09:12:18 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 10797 invoked from network); 11 Nov 2016 09:12:41 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 11 Nov 2016 09:12:41 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Fri, 11 Nov 2016 04:12:21 -0500 (EST) Received: (qmail 12408 invoked from network); 11 Nov 2016 09:12:20 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 11 Nov 2016 09:12:20 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 1B44AEC7C39; Fri, 11 Nov 2016 01:12:16 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: FYI: head (12-CURRENT) -r308247 still does not boot old iMac G3 Message-Id: <6A068F32-40C5-439D-92DC-671561449606@dsl-only.net> Date: Fri, 11 Nov 2016 01:12:15 -0800 To: FreeBSD PowerPC ML , FreeBSD Current X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2016 09:12:18 -0000 My old iMac G3 list report from 2015-Mar-30 ( = https://lists.freebsd.org/pipermail/freebsd-ppc/2015-March/007563.html ) = for head (11-CURRENT) -r280598 still basically applies to head = (12-CURRENT) -r308247 : > iMac G3 (I've access to only one example G3):=20 >=20 > After=20 >=20 > > Time counters tick every 1.000 msec=20 >=20 > it gets:=20 >=20 > > [Thread pid 0 tid 100037]=20 > > Stopped at pmap_activate+0x7c lwz r11,r1,0x0=20 >=20 > which may be reporting the instruction after a indirect subroutine = jump.=20 =20 Although the tid is now 100040 if I remember right. If I remember right, = the 0x7c has not changed, nor has the type of instruction listed. The SSD boots various other PowerMac G4's and G5's just fine. Back on 2015-Mar-30 I reported that 10.1-STABLE of that time worked = fine. (I was not explicit about the -r.) [Unlike back then there is no problem with -r308247 booting the PowerMac = G5's.] [The oddball PowerMac G4 that no version of FreeBSD that I've tried has = ever managed to boot still has the status as of -r308247: it gets to the = same point and silently hangs. Mac OS X and Lubuntu and the like boot it = just fine.] =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Fri Nov 11 09:47:40 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1EA6BC39B21 for ; Fri, 11 Nov 2016 09:47:40 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp08.smtpout.orange.fr [80.12.242.130]) by mx1.freebsd.org (Postfix) with ESMTP id 8FD4614A3 for ; Fri, 11 Nov 2016 09:47:38 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from localhost ([109.223.53.173]) by mwinf5d43 with ME id 6Zfy1u00d3kDf9Z03ZfySm; Fri, 11 Nov 2016 10:40:00 +0100 X-ME-Helo: localhost X-ME-Auth: Y2xidWlzc29uQHdhbmFkb28uZnI= X-ME-Date: Fri, 11 Nov 2016 10:40:00 +0100 X-ME-IP: 109.223.53.173 Subject: Re: FYI: head (12-CURRENT) -r308247 on old 466 MHzPowerMac G4 (1 processor/1 core): taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0 To: Mark Millard , FreeBSD PowerPC ML , FreeBSD Current References: From: Claude Buisson Message-ID: <30ac164f-ed9e-11af-024a-c798d908d8fb@orange.fr> Date: Fri, 11 Nov 2016 10:39:58 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2016 09:47:40 -0000 On 11/11/2016 09:40, Mark Millard wrote: > When using head -r308247 to boot an old PowerMac G4 466 MHz (single processor/single core) there are two "taskqgroup_adjust failed cnt" messages: > >> # dmesg >> Copyright (c) 1992-2016 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 12.0-CURRENT #0 r308247M: Thu Nov 3 11:39:11 PDT 2016 >> markmi@FreeBSDx64:/usr/obj/powerpcvtsc_clang_gcc421_kernel/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG powerpc >> gcc version 4.2.1 20070831 patched [FreeBSD] >> cpu0: Motorola PowerPC 7400 revision 2.9, 466.97 MHz >> cpu0: Features 9c000000 >> cpu0: HID0 8094c0a4 >> real memory = 1588068352 (1514 MB) >> avail memory = 1530961920 (1460 MB) >> . . . >> ATA8-ACS SATA 2.x device >> ada0: Serial Number >> ada0: 66.700MB/s transfers (UDMA4, PIO 512bytes) >> ada0: 114473MB (234441648 512 byte sectors) >> taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0 >> taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0 >> Trying to mount root from ufs:/dev/ufs/FBSDG4Srootfs [rw,noatime]... >> gem0: link state changed to DOWN >> gem0: link state changed to UP > > The above is repeatable for the indicated PowerMac, so far always at the same place in the sequence. > > The other booted PowerMac's using this SSD have multiple processors (G4 and G5 examples). None of them has reported such messages so far but those messages could be unrelated to the processor count for all I know. > > This -r308247 build is "stable style" relative to performance choices for the KERNCONF. And the KERNCONF disables/excludes PS3 and enables/includes sc (syscons) in addition to the normal vt. > > > I do warn that this is the environment were I experiment with the problematical-for-powerpc clang/clang++ 3.8.0 for buildworld. Build kernel is via gcc 4.2.1. The kernel has so-called "red zone" handling added for signals in order to deal with the clang ABI violations (in the stack handling). > > At some point when all the available llvm powerpc-target fixes are in place I'll switch to the 3.9.0 project if I can. (Similarly for powerpc64.) > > === > Mark Millard > markmi at dsl-only.net > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > I have the same messages (taskqgroup_adjust..) on an old Pentium 4 and and a (less) old Pentium M since current r302216 then stable/11 r303807 (clang,etc) The systems seem to run OK Claude Buisson