From patchwork Sun Nov 17 03:49:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 179558 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1238982ilf; Sat, 16 Nov 2019 19:49:52 -0800 (PST) X-Google-Smtp-Source: APXvYqx9Q9IztV2BYrP2hwDvJmbLVfA+kWqKxcfL/nSqA7OG8bhBFNSm/Dsn2MV+3q4zW5IFuORQ X-Received: by 2002:a63:541e:: with SMTP id i30mr8076747pgb.130.1573962592099; Sat, 16 Nov 2019 19:49:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573962592; cv=none; d=google.com; s=arc-20160816; b=ASuTcVeYpSvtjh+X3l0C3mWnRl6MGlZeQQ0tmrkh9pRi4T5/yoTZSsZTe1H4sUx+3B IrTzktPjLxpxXVvJcm9vz3AgdA3BTAhRt03+CttYtWSJlTCEA6hqb3IKBUL6UgnfbIkG bWmWatPEmu4YwL5L7W5IsfV5d7M5afyyu0acdxNcl6MARREwKRBxp3PFFpAZmB9zvTXu UdZytSwcTwMe8I3FG/5awYbLmSN/7heQmFMW1qP0slASAvxwXZplMIIrl77P3ceBL+dK jyg7U07hIeEBCxU+h4ITBpdrINtaTnUNNjZPIaTtrNn27bIRadLjwL0hjpreh5xajda3 SvMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=SmygkIv5Cv2ZOpg667wARPvpESR0dSDQzk8qPzoR75M=; b=mb1HEf3M5W9NpCcGCzMUzkuuYTGfX2VfqNVOVcKEwnAmp1xMSgj3e0kFa0hk4MOkLt mf8g1egqdfK8t3jEK4eXrKhEG3eArjI1ENcICxi2t8pDp4u4LAMuDLnBkAfVmXK4YiAf RqRoJ2axIDUmRcWSy9Y2zABZ3gre8cBCzV8v4COeA0XcB2euQdTvtM3mgvpXp6JgciJC HdYXZ2vWOSKKsooyUfWodjDlBDvRsIpASOlB1fVdXtP/zPEeJdW/VeTO/t1RepFCn3a1 4FO1V8Sdw9UvD1Kieoh6y+ktbLTfPn5YZsok9geLLJAqJY3tRWSJD5E0GLTdz6xbb3qv oWhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="dYkb/imH"; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id c18si15081965plo.149.2019.11.16.19.49.50; Sat, 16 Nov 2019 19:49:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="dYkb/imH"; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A6FC77F96B; Sun, 17 Nov 2019 03:49:44 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mail.openembedded.org (Postfix) with ESMTP id ADE187F969 for ; Sun, 17 Nov 2019 03:49:43 +0000 (UTC) Received: by mail-pl1-f174.google.com with SMTP id a18so7535795plm.10 for ; Sat, 16 Nov 2019 19:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7DxEYFwcJ8X3YhrMIVKvYi+D8aju4LbeTwOURUrzocg=; b=dYkb/imHJSVaTbCAUQX0JgMojSqukSQpB577Y+h0qI6ZlurStq0hy4Bv0MNDjHwprU 55Xc0cUs741mU/mAQF1ITx+9vV3ELjg83kWPqJzLZ6dIj8RhYJtwFytQC6RB8CikOCZI UY8ZkDoxg5mwlMaMiVgWAf/icOqmjpBAPVo9qriceWJWT7j5LR25MH7I0mNVhPm2rOAY qJCRCQ229mXPwgNNEGfuEeS4dyarbYO+qJeOMkRXOzh1cENJopcDxDrys28YsHSc7J3c jELNbmPB3MU6z9oQwBtPVaIYFacLwz6KHWGNO4t+KSmRti3ls30gxgNwg/AbQpZexnpp bFmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7DxEYFwcJ8X3YhrMIVKvYi+D8aju4LbeTwOURUrzocg=; b=doVkgc7nMc/DJJmlmHggPajYCD5rC++PVza777mDILwiVHoBb0QswRkXUoPzp9UIL2 0HG+e9K8F376swinW+ReywSP4GpZCfJYq+HMV5VyrXYsEg3NC3GZk47IMBgpBDyImDpC Y2RNngW4KQzpS+V0q/MH0JP0voAR+BZjfChPBkDj4f1FQTmq9X3GjRDkfzB6U9vWLAx8 27eyl5YRTpEAHnMmnk6axYGYR6IzdsyU/n+4deM/t6oChvBPMV3K1kgt+vhIXTTnnzQ4 LPc2Nz4T2dDz73L8qZCorzoO5KRSyuCLSivQgrwo6AJtO4jj3VHrJjhW/ftaqPeZ81eS xCnw== X-Gm-Message-State: APjAAAXfG+5BcGlH4MtCm6KdE+m9PeUFo5eyHy1rvz67WA8pNG+PXzSo GcRPFgyHxGx3ovQPW/AehXsCS7OxE2A= X-Received: by 2002:a17:90a:ec07:: with SMTP id l7mr30004539pjy.68.1573962583880; Sat, 16 Nov 2019 19:49:43 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::30e8]) by smtp.gmail.com with ESMTPSA id w15sm14881103pfn.13.2019.11.16.19.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Nov 2019 19:49:42 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 16 Nov 2019 19:49:27 -0800 Message-Id: <20191117034929.3298760-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 1/3] poppler: Extend the c/c++ flags fix to cover clang X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...Do-not-overwrite-all-our-build-flags.patch | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/meta-oe/recipes-support/poppler/poppler/0001-Do-not-overwrite-all-our-build-flags.patch b/meta-oe/recipes-support/poppler/poppler/0001-Do-not-overwrite-all-our-build-flags.patch index 18f508519e..05e0abede6 100644 --- a/meta-oe/recipes-support/poppler/poppler/0001-Do-not-overwrite-all-our-build-flags.patch +++ b/meta-oe/recipes-support/poppler/poppler/0001-Do-not-overwrite-all-our-build-flags.patch @@ -13,11 +13,9 @@ Signed-off-by: Andreas Müller cmake/modules/PopplerMacros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -diff --git a/cmake/modules/PopplerMacros.cmake b/cmake/modules/PopplerMacros.cmake -index ccb2790..0f392cb 100644 --- a/cmake/modules/PopplerMacros.cmake +++ b/cmake/modules/PopplerMacros.cmake -@@ -125,14 +125,14 @@ if(CMAKE_COMPILER_IS_GNUCXX) +@@ -123,14 +123,14 @@ if(CMAKE_COMPILER_IS_GNUCXX) set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}") set(_save_cxxflags "${CMAKE_CXX_FLAGS}") @@ -34,5 +32,21 @@ index ccb2790..0f392cb 100644 set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cflags}") set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cflags}") set(CMAKE_C_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline ${_save_cflags}") --- -2.14.3 +@@ -167,7 +167,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL + set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}") + + set(_save_cxxflags "${CMAKE_CXX_FLAGS}") +- set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE") ++ set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE ${_save_cxxflags}") + set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}") + set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cxxflags}") + # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2 +@@ -175,7 +175,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL + set(CMAKE_CXX_FLAGS_DEBUGFULL "-g3 -fno-inline ${_save_cxxflags}") + set(CMAKE_CXX_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs ${_save_cxxflags}") + set(_save_cflags "${CMAKE_C_FLAGS}") +- set(CMAKE_C_FLAGS "-std=c99 -D_DEFAULT_SOURCE") ++ set(CMAKE_C_FLAGS "-std=c99 -D_DEFAULT_SOURCE ${_save_cflags}") + set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cflags}") + set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cflags}") + # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2 From patchwork Sun Nov 17 03:49:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 179559 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1239270ilf; Sat, 16 Nov 2019 19:50:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwFF2d7HxQsKpcYcw4yn7GXlolJFDIralOXOTzuM+R5XGuBaZa2lTL6WUnG49FBS4NblaqB X-Received: by 2002:a17:902:b60d:: with SMTP id b13mr23791731pls.145.1573962621611; Sat, 16 Nov 2019 19:50:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573962621; cv=none; d=google.com; s=arc-20160816; b=KzddUN1UykJZQZNJos/TBNevIBumkdms+4tbNrvpiXK4h/U0uM8uQuQiiNGpqWx265 sOB+60VCC73g7khQmWUYxUEyNBoQ1wf+a8Ih8mc9IwMtHMODdCv2dK0zAa2ABXKFX/di I0lDGk0BqWV4nrC0f0/TGeuPrScycvtlyIQkDSbJPd7VYJ4MltHXGqhGLNJdFLl7p38H dMfaCgNyidSm+v3v4axIDKAAVPZ2aSIt4REaBMEcq4rNCujzyvfDlcSULJLr41v243Et 9ihvFttRcMU0QM+ZkJgKIeKUupLYpJO3TQI4xKFbdC9sGrQCxSJjjN0ee9Ei2c61q2LZ Lz/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=n4nNYgouTn5uy7WMM+1M/pBoko1SdBrSA9D3M+6g0x0=; b=HbXKn532LdFSPTPhGl4TdBKSlhIsFTWcZgpAVaZKNZ5a4gHf+c2MVcYqCn3pVRFcLL O1W2cbW1cId9IuXXCdkFXt9+41vJTu/G9iyuBOQcoTgQY5Vbl9nwhyAP6MVBQ+uMlf3V uZyY6S34Qm/SUQZO4ZzBbsnFY2BVZYJ4dLwEZXEBUse/MCGZzvuCmBSBtGxykZtS8DjY aUD8M452CuD0VZUEBMKaq504Y0oxRWuPXt9D8qhFIBfMO9V4ccGR1jSR/7H0Rp8XCfA4 F1WH0Rknkf9vIIlEyDY2EwA1K2Pr2SMsEUGGfxcRx2EXjMfUkWQpMSckA8rKgDE2se+d C/bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gd7LCgq1; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id h7si16177734pgb.465.2019.11.16.19.50.21; Sat, 16 Nov 2019 19:50:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gd7LCgq1; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A88097F9A2; Sun, 17 Nov 2019 03:50:18 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mail.openembedded.org (Postfix) with ESMTP id 6A90B7F96B for ; Sun, 17 Nov 2019 03:49:44 +0000 (UTC) Received: by mail-pj1-f52.google.com with SMTP id m71so538565pjb.12 for ; Sat, 16 Nov 2019 19:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Q4YKu6yQ6u/skGhYXvXfHba+sV56bLxt3DCDtYQJzdU=; b=gd7LCgq1lRBx64w7KANkYPUhLuktgsNyJTMDeIX807q2ktHRmBD2Lo17JrRJCkNFI+ IDVPJ43qod6wF2m+uj6ZVgeTzQcncs2xXE4BAUJ4n55bLcowmaN93YDCvDoCUF6zDCJ/ 6XBArIQ6v+rpeZuISkCfbcKZ3CT5A6D8jShkyLLaAgruTNUjoHXOhBcYL0bZonI7nSA6 56H/j5ABfV4iVuM3AUVzfc3tJaqlK+1mX5bWe2BjP8e/LjeGwIlOrWK1B/AHAdasuNLe 9Cug1gWu0Ogj2RZm3aFCWeF8KBzVwOAycBsgtg6aC5gThzvnVZI5JofeRFS3rRrR+CqC iLDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Q4YKu6yQ6u/skGhYXvXfHba+sV56bLxt3DCDtYQJzdU=; b=eqtmYlEkZ6iqTxfrt2QnSIGjzbWNSW/l1dR/tE1BPGgyFLz6QEkEG95rpkLIpB4qCS DudG1zpmq/n1Mfo3ZAySFqr5+6nYMY4ZjadxG2bcsrTEurEZoB+hICOcO5guRmQS0axI 19dP4M3BaMF2nbuIDrfGJqZn8qJ3QUiS8u7PPa4hNI5I2pogEq0AyIcxnfXm2xkD4bEv /wUfvAjMSi4ciN+B/O6zMzDydHLcT4GC5+Ol7yOdHGqLtmNlmFbpfsb6yRy2IjlEXpHE AxBMVVBSGgTYih9SUu5cCMtHTkTxSAWL4A7/iKBkehaR2mtfB2KoAwJ3Tlo8BXYkB9g2 Sfww== X-Gm-Message-State: APjAAAUxJqBwevJKVj1/omZ87+ME1Lu0LL33CXYzS3e8uxQjfz3WGHVK tkw1tMmmia7L8IhY85v+v4K5U90Qork= X-Received: by 2002:a17:902:8f94:: with SMTP id z20mr23166370plo.21.1573962584633; Sat, 16 Nov 2019 19:49:44 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::30e8]) by smtp.gmail.com with ESMTPSA id w15sm14881103pfn.13.2019.11.16.19.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Nov 2019 19:49:44 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 16 Nov 2019 19:49:28 -0800 Message-Id: <20191117034929.3298760-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191117034929.3298760-1-raj.khem@gmail.com> References: <20191117034929.3298760-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 2/3] pidgin-sipe: Fix another case of struct incompatiblility due to 64bit time_t X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...sts-with-time_t-elements-to-8byte-bo.patch | 50 +++++++++++++++++++ .../pidgin/pidgin-sipe_1.25.0.bb | 1 + 2 files changed, 51 insertions(+) create mode 100644 meta-oe/recipes-support/pidgin/pidgin-sipe/0001-Align-structs-casts-with-time_t-elements-to-8byte-bo.patch -- 2.24.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/pidgin/pidgin-sipe/0001-Align-structs-casts-with-time_t-elements-to-8byte-bo.patch b/meta-oe/recipes-support/pidgin/pidgin-sipe/0001-Align-structs-casts-with-time_t-elements-to-8byte-bo.patch new file mode 100644 index 0000000000..87a6435f7e --- /dev/null +++ b/meta-oe/recipes-support/pidgin/pidgin-sipe/0001-Align-structs-casts-with-time_t-elements-to-8byte-bo.patch @@ -0,0 +1,50 @@ +From 1110d3036e73d0571f70f6758f3179e5048c0b5d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 16 Nov 2019 11:07:42 -0800 +Subject: [PATCH] Align structs casts with time_t elements to 8byte boundary + +This helps with 64bit time_t conversion, especially where these +structures are typcasted to another struct types which have time_t +element, that now increases the natural alignment boundary of structures +to 8-bytes. + +Fixes +../../../pidgin-sipe-1.25.0/src/core/sipe-user.c:124:43: error: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8 [-Werror,-Wcast-align] + struct sipe_core_private *sipe_private = SIPE_CORE_PRIVATE; + ^~~~~~~~~~~~~~~~~ +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + src/api/sipe-core.h | 2 +- + src/core/sipe-http-transport.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/api/sipe-core.h b/src/api/sipe-core.h +index cde0a9c..bd818bb 100644 +--- a/src/api/sipe-core.h ++++ b/src/api/sipe-core.h +@@ -148,7 +148,7 @@ struct sipe_core_public { + + /* server information */ + /* currently nothing */ +-}; ++} __attribute__((aligned(8))); + + /** + * Initialize & destroy functions for the SIPE core +diff --git a/src/core/sipe-http-transport.h b/src/core/sipe-http-transport.h +index d82cd1b..08eb150 100644 +--- a/src/core/sipe-http-transport.h ++++ b/src/core/sipe-http-transport.h +@@ -46,7 +46,7 @@ struct sipe_http_connection_public { + gchar *host; + guint32 port; + gboolean connected; +-}; ++} __attribute__((aligned(8))); + + /** + * Check if we're shutting down the HTTP stack +-- +2.24.0 + diff --git a/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb b/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb index 7dc63164e3..99fcf3c6d0 100644 --- a/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb +++ b/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb @@ -9,6 +9,7 @@ inherit autotools gettext pkgconfig SRC_URI = "${SOURCEFORGE_MIRROR}/sipe/pidgin-sipe-${PV}.tar.xz \ file://0001-sipe-consider-64bit-time_t-when-printing.patch \ + file://0001-Align-structs-casts-with-time_t-elements-to-8byte-bo.patch \ " SRC_URI[md5sum] = "0e742f021dc8c3f17435aea05c3e0314" From patchwork Sun Nov 17 03:49:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 179560 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1239347ilf; Sat, 16 Nov 2019 19:50:28 -0800 (PST) X-Google-Smtp-Source: APXvYqyXXU20SJAYKD5IdlAnn4BUsowjv1PVUKbIX7swev0/zSlpWpz67y6wH5A9N6tZTquobVMm X-Received: by 2002:a17:90a:d102:: with SMTP id l2mr31564169pju.132.1573962628176; Sat, 16 Nov 2019 19:50:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573962628; cv=none; d=google.com; s=arc-20160816; b=nuG38fUiFfq2KJjUgBXdk6KY3VxEk2XHnqkINE2q4dGnnD+WZXGJI313Z9or8n2Boz Q4iim00LRHB+7VbI6MQWt18123oN3xl0cGyhGJfU6nh5oLfZm8RWSW3PV/2MvStI97lW rwveGcedud1Pi4uIJXmOg/3Avptg+9OGsfRH5FvMdCpulE1h0Fq7gSLeWrv/SUjt8Jxr +oIuSqfJeGaw8/bqxnPpYYP5MSVzmpTnpsHXtxOj6QpfPjBWfbbO7B816I6AJ5lsRNbn MimuktcNGuCXuj+1R7EesBib78wyfuR3A/gRa3BxEFvuU2kaUsMKBSJjRFlZT4NwxRAV 7TAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=hVPyo8T7/2H8vHeF0nbFsmm2kzTbnIWJq1ZXxFYTRbs=; b=xVFjrWYHv6fBwBG96n+gKP1ru22wJguWQpziAvs0fve2ULTFsbqTjWEfIkf0ivda9k MEokTDlEQEAYyy87OjyQTV7ivOPdG5oVYxe3/xRB6KbMVCB3OZYxw+p2UsH1RCWy3ReL y1bkBeydbWIALEVo/EjJrTVCkEwe9KQfIqCCERF/Tg7r3vkWEgBh2kBlSpqaaEeK6UnN zUPoF0+by304fcccAtkMD7SrvKgTdsQw3P2fMmcMfmDGHIB59GTW3AMR5g1dPQb03U5E kjlfclDOjIfPjc7m3sEy5pNyew6yo7oaQafw3aStMplQEGeF0z90h8OKwZDx6sGJQv+x pObg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jtrr4n+o; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id e4si8783861pgc.353.2019.11.16.19.50.27; Sat, 16 Nov 2019 19:50:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jtrr4n+o; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5915C7F9B3; Sun, 17 Nov 2019 03:50:20 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mail.openembedded.org (Postfix) with ESMTP id EEBDC7F98C for ; Sun, 17 Nov 2019 03:49:44 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id 193so8589491pfc.13 for ; Sat, 16 Nov 2019 19:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p8bxrPfPme51fqfqFuK9mshkdwoKRwZZEgdx7tVdIxI=; b=jtrr4n+ot24cr/gqq6+gWbkrFqnfa/nS42Gtowk/G1u36lZ9+ICx/mE4MLj6hDvpkG wY/+3X58jwIQjPRhzFfPQfElBxfU48kXBnVlksdeyQj+b2XPkOAKb4b5gt5WFQLez/tc 3PdrbXMr2CAaL+fAeddwBzpZt0FcZ8la2bFPNXgaohB4JgZW32loywT07a0OVQITBSaV mQACLj4Wl0qI26P4sQAAp3DYBeFplfwkHowvX4nS5fBLi+kC5ZXQpLOY5/d+U00BQ4Zi Q1MXOT4FwQOtZlPmVmihKTYkOtDVI0GEW6f+J1l1m8hnuGHOP+31eDMY7jDDN8Phcsg/ 20ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p8bxrPfPme51fqfqFuK9mshkdwoKRwZZEgdx7tVdIxI=; b=XbLwzb0WjpVphgjBi1loFNVztp4vOoHwKA9BhXmmp0j0QF2HEJUiJBcsumlJ/Gv9xm hfe6n4H17oHSvgDGOqKWcQg1cRPwVZlUZiQ5aZyENmYKn7hL4Lg2+XauZB5n7o6gYyjd PPy80Mpxuvx+1Ra4DtTN2oQOKDZUb7D+hQqj9g+578yu18vcxLHxYwpReNslTmtlRm/Y JUes8/kahOMypidfTcgmlFZx/cl8VkxhrdZXvzs28lVRfduGnrISAmzYf2f8WseiAgNj yK8QwTBxPVJS/X1H/ZdgjwFk1K2UIklgBrWpIL45WEDwg75KlYOdJtlAlvvxsiP+vXM3 n+tQ== X-Gm-Message-State: APjAAAXeV2/s9qZSonssd5sToYKhiENkjJJtRjDtRdO1g4QUWwlC+CJs PQJH5upVYT5kV4XlEiqx4xNs6nnnk4s= X-Received: by 2002:aa7:9189:: with SMTP id x9mr15902587pfa.41.1573962585580; Sat, 16 Nov 2019 19:49:45 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::30e8]) by smtp.gmail.com with ESMTPSA id w15sm14881103pfn.13.2019.11.16.19.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Nov 2019 19:49:45 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 16 Nov 2019 19:49:29 -0800 Message-Id: <20191117034929.3298760-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191117034929.3298760-1-raj.khem@gmail.com> References: <20191117034929.3298760-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 3/3] gperftools: Convert static and libunwind support to packageconfig X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Disable libunwind on musl/arm Signed-off-by: Khem Raj --- meta-oe/recipes-support/gperftools/gperftools_2.7.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.24.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb index fdb82519bc..2cdb2e2740 100644 --- a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb +++ b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb @@ -2,7 +2,6 @@ SUMMARY = "Fast, multi-threaded malloc() and nifty performance analysis tools" HOMEPAGE = "https://github.com/gperftools/gperftools" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a" -DEPENDS += "libunwind" SRCREV = "9608fa3bcf8020d35f59fbf70cd3cbe4b015b972" SRC_URI = "git://github.com/gperftools/gperftools \ @@ -28,9 +27,11 @@ COMPATIBLE_HOST_mipsarch_libc-glibc = "null" ARM_INSTRUCTION_SET_armv5 = "arm" ARM_INSTRUCTION_SET_toolchain-clang_arm = "arm" -# Ensure static libs are always enabled, as they seem to be not produced by -# default at least on ARM. -EXTRA_OECONF_append += " --enable-static" +PACKAGECONFIG ?= "libunwind static" +PACKAGECONFIG_remove_arm_libc-musl = "libunwind" + +PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind" +PACKAGECONFIG[static] = "--enable-static,--disable-static," PACKAGE_BEFORE_PN += "libtcmalloc-minimal" FILES_libtcmalloc-minimal = "${libdir}/libtcmalloc_minimal*${SOLIBS} ${libdir}/libtcmalloc_minimal_debug*${SOLIBS}"