From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 4cef5395 for ; Wed, 6 Jul 2016 15:16:39 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 245ab581 for ; Wed, 6 Jul 2016 15:16:39 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id c3c9bf99 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Wed, 6 Jul 2016 15:16:39 +0000 (UTC) Received: by mail-lf0-f50.google.com with SMTP id f6so156771659lfg.0 for ; Wed, 06 Jul 2016 08:16:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20160629112423.GC31514@lud.polynome.dn42> <20160704074837.GA24805@lud.polynome.dn42> <20160705220336.GA18854@lud.polynome.dn42> From: "Jason A. Donenfeld" Date: Wed, 6 Jul 2016 17:16:42 +0200 Message-ID: To: Baptiste Jonglez Content-Type: text/plain; charset=UTF-8 Cc: WireGuard mailing list Subject: Re: [WireGuard] OpenWRT package for wireguard List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , There's also a lot to be done with -flto. I was working on getting this working last year but ran into some snags. I'll give it another try. There's also the more bootleg version of running with -fwhole-program and then using the __visible attribute on the module init/cleanup functions. I don't know if this would actually work properly though.