From owner-freebsd-wireless@freebsd.org Fri Sep 1 15:32:30 2017 Return-Path: Delivered-To: freebsd-wireless@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 CB86BE15225 for ; Fri, 1 Sep 2017 15:32:30 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw0-x22e.google.com (mail-yw0-x22e.google.com [IPv6:2607:f8b0:4002:c05::22e]) (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 858BB7668A for ; Fri, 1 Sep 2017 15:32:30 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-yw0-x22e.google.com with SMTP id s187so2726566ywf.2 for ; Fri, 01 Sep 2017 08:32:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RsbgVC2izm3i07ltsTITrI8o1pjjV3KwrajDyBHYEvM=; b=n7sU2JxNe8p1SZKWd/EAiZyslj5PteZT6uiZ+YNp96AKk0uz1MkIc3rxUFetFOmp75 RTfQ4xs7nTcocMjxQIb8ef5vouUgQd+4mWIFDu3m9+ni6ho/5GWcnhiNSqo2mExuISOF lVatbSXTxYWNOv2W9S9YsXWKyhP1Zz+TWSI7Hj/9CBsg8nh2vo0ighIu60XDbzwLFcKW llhhyryWI3f6wxtJsf0I56HZ8rVnRtQMSuRhKeEUMvJrleoDAOxNw9fRTe1a7/fbuU3D BgyjvfPiFAgJ05QN21bbfs/cipUk6F2PG4rPMyRbbJE6dtTXleUDFlIDMAZsMwW8AoqM ZGmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RsbgVC2izm3i07ltsTITrI8o1pjjV3KwrajDyBHYEvM=; b=mcPh+VDdK2Yo9gYQJF9sAALdNEMKBhQOjiZwt1og9nOuixdLzn54lnXpsNo710XB9G Ck6EsJuMwi/BZyitaRZcHCIgeFSEhW1XBGn5HclWuyOjjiwFe3SemzQQPpBnwwMXJgsG OvXUsca1lbf64RgQFIu8PwdWSO0LGUxiV8ZD6WkGcWIfhRUvXCWNYtQmZ/VaVoA60o6K jfKmnez2m3l5VyczbHwTLSp5FyCm1v2gryLyUmFQiUwWsXcotYZqG6yP4CG0pqfkze3m Ez8U2HCkwo35X6WAxeUfEdmuX5murMM/s2JZN5yD7y2p7dtZwR0ahfHFU3wV/+wErP8N JHbA== X-Gm-Message-State: AHPjjUhv6QI2pTALNnGqgITO9/Xm/qlOtiPjrU2Wh5Rc3VGHwVieuzIk wIuZVAN/viwaB7EGQQ6dJb46s1/QHrBR X-Google-Smtp-Source: ADKCNb6cLtwpzawR/q1FigcyKt2BLTrq56MfBr0OUfip0mwfmSeOnVF8HEjmTmNwfKcyLCFL91wVfguE5CexFzB22ac= X-Received: by 10.37.80.216 with SMTP id e207mr2093214ybb.272.1504279949463; Fri, 01 Sep 2017 08:32:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.125.65 with HTTP; Fri, 1 Sep 2017 08:32:28 -0700 (PDT) In-Reply-To: References: From: Adrian Chadd Date: Fri, 1 Sep 2017 08:32:28 -0700 Message-ID: Subject: Re: buildkernel fails while compiling ath with -O0 (no optimization) for STABLE-10 To: Aijaz Baig Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 15:32:30 -0000 Hi, I'm not sure what's going on. I think I made the driver require the kernel be built first so those header files should exist. Is setting CFLAGS right? Can you paste the whole command line that was being run by make leading up to that failure? -a On 1 September 2017 at 02:21, Aijaz Baig wrote: > Oh I got what you meant. No I was NOT specifically compiling the ATH > module but it was being built as part of the buildkernel process. I was > actually trying to build the kernel without optimizations (so I can debug > it within gdb) hence the need for that specific src.conf. Apparently as the > build runs, it fails at that very moment in the compilation which I > mentioned earlier. > > I hope you got your answer Adrian. > > On Fri, Sep 1, 2017 at 6:54 AM, Aijaz Baig wrote: > >> Hi Adrian >> >> I did not really get your question. Do you mean if other modules are >> getting compiled properly? Won't it build the modules as part of the entire >> buildkernel process? >> >> Do you want more information about the system I am compiling it on? >> >> On Fri, Sep 1, 2017 at 5:13 AM, Adrian Chadd >> wrote: >> >>> Hi, >>> >>> Weird, is it building modules without a kernel? >>> >>> >>> >>> -adrian >>> >>> >> >> >> -- >> >> Best Regards, >> Aijaz Baig >> > > > > -- > > Best Regards, > Aijaz Baig >