From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by dpdk.org (Postfix) with ESMTP id 875758E7D for ; Tue, 24 Nov 2015 23:46:29 +0100 (CET) Received: by pacej9 with SMTP id ej9so35608623pac.2 for ; Tue, 24 Nov 2015 14:46:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=I9JuPEzOZQuv82AmIPKahJ7TTQbpBkOKYJdCyvfzO+A=; b=QuOh24RHuouyn4NkEhe8yMZ3NM0AoR2r4WCQX7wvbjNMpbyfJK01pgg1MaQ+FUeFoi lx0tAF0Qd5qTLeVqFTbgxUhNo5RrTdoOFOMr0tjEPOkpIKNkScymg3jvP891bj+VmdtS K1EIytlBxyw2N05yXXhh//2yvZA/9VdEw6+g6UCc7D7sP8hwrOD0Qcxx5ZuFmCEf/pD2 MuS5Ni9VA4mPUTwlk6ranoziY9BL0BIs6zHOdIjvcd7u/EpkgDqMlRFpbgitoTvI9D3W RcZ4uk2Si2kwuDqN6R2/zxA042oSQ79DPbbN+KHi1mphPrgoaPvKcaNSZWPaaneIiA7Y ttaQ== 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-type:content-transfer-encoding; bh=I9JuPEzOZQuv82AmIPKahJ7TTQbpBkOKYJdCyvfzO+A=; b=WLm1znIzOUZk6ByW13Isokcp0y1XI5svz6D6H/7hANSMiInJvUu7RTp53Ams79hiQx OLJ5GsbYOFclHGPkDheDglTB/AuHrKmHpgXPmSGa8mvW0jqL6unyNpp044JcwuLKjPhW RW1taZKr0CtOL8wEG44qRQJAMiYzlIA4pX8OmilTPxWpTkC+Pvw33+KN2EceIoqultoU 7A7hxuPMyfQ1pHr1mUs1T23YQDs80gIX2OLXwMeAs15i3W3XFClcHoh9Inl/wMhYefJw kXhwUOgNSID1Sc7zGIRzdy4/I7+lfpG2CfkK+4qMBK5u4HoTgeWrp1XcKZ+Tf0X5SfQw U28Q== X-Gm-Message-State: ALoCoQkKyigpLPGNTOxe0KlY7Ld+yDandyp1PPPfFzj8zYkbgxzl0rMuBQCkoQq/GZ9PFznrmkVu X-Received: by 10.66.100.166 with SMTP id ez6mr46553704pab.49.1448405188972; Tue, 24 Nov 2015 14:46:28 -0800 (PST) Received: from xeon-e3 (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id z13sm16444929pfi.11.2015.11.24.14.46.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Nov 2015 14:46:28 -0800 (PST) Date: Tue, 24 Nov 2015 14:46:38 -0800 From: Stephen Hemminger To: Panu Matilainen Message-ID: <20151124144638.0b659e7d@xeon-e3> In-Reply-To: <079fa1cfc3550c8147ea8b137fa1bc0f34d051dc.1448375477.git.pmatilai@redhat.com> References: <079fa1cfc3550c8147ea8b137fa1bc0f34d051dc.1448375477.git.pmatilai@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] mk: fix the combined library problems by replacing it with a linker script X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2015 22:46:29 -0000 On Tue, 24 Nov 2015 16:31:17 +0200 Panu Matilainen wrote: > The physically linked-together combined library has been an increasing > source of problems, as was predicted when library and symbol versioning > was introduced. Replace the complex and fragile construction with a > simple linker script which achieves the same without all the problems, > remove the related kludges from eg mlx drivers. > > Since creating the linker script is practically zero cost, remove the > config option and just create it always. > > Based on a patch by Sergio Gonzales Monroy, linker script approach > initially suggested by Neil Horman. > > Suggested-by: Sergio Gonzalez Monroy > Suggested-by: Neil Horman > Signed-off-by: Panu Matilainen But it now means distros have to ship 20 libraries which seems like a step back.