From owner-freebsd-ports-bugs@freebsd.org Sun Aug 20 07:20:00 2017 Return-Path: Delivered-To: freebsd-ports-bugs@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 864FEDE4763 for ; Sun, 20 Aug 2017 07:20:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 73FC776DA0 for ; Sun, 20 Aug 2017 07:20:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7K7K0ui000911 for ; Sun, 20 Aug 2017 07:20:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221645] www/webkit2-gtk3 build fails on PPC because of exception for PPC Date: Sun, 20 Aug 2017 07:19:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: solence@zoho.eu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2017 07:20:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221645 Bug ID: 221645 Summary: www/webkit2-gtk3 build fails on PPC because of exception for PPC Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: solence@zoho.eu CC: freebsd-powerpc@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) CC: freebsd-powerpc@FreeBSD.org Assignee: gnome@FreeBSD.org This build fails with the following error: Source/JavaScriptCore/heap/MachineStackMarker.cpp: In function 'void pthreadSignalHandlerSuspendResume(int, siginfo_t*, void*)': Source/JavaScriptCore/heap/MachineStackMarker.cpp:92:69: error: 'mcontext_t {aka struct __mcontext}' has no member named 'uc_regs' threadData->suspendedMachineContext =3D *userContext->uc_mcontext.uc_r= egs; ^ ninja: build stopped: subcommand failed. There is an exception in MachineStackMarker.cpp for PowerPC to use uc_regs, which is not declared on PowerPC, so this does not make much sense: ucontext_t* userContext =3D static_cast(ucontext); #if CPU(PPC) threadData->suspendedMachineContext =3D *userContext->uc_mcontext.uc_re= gs; #else threadData->suspendedMachineContext =3D userContext->uc_mcontext; #endif Here is the definition of mcontext_t on PowerPC for reference: typedef struct __mcontext { int mc_vers; int mc_flags; #define _MC_FP_VALID 0x01 #define _MC_AV_VALID 0x02 int mc_onstack; /* saved onstack flag */ int mc_len; /* sizeof(__mcontext) */ uint64_t mc_avec[32*2]; /* vector register file */ uint32_t mc_av[2]; register_t mc_frame[42]; uint64_t mc_fpreg[33]; } mcontext_t __aligned(16); Removing the exception allows the build to continue. --=20 You are receiving this mail because: You are the assignee for the bug.=