# Re: nommu build failure in linux-next

- From: Siddhesh Poyarekar \<hidden\>
- Date: 2012-03-06 15:19:59 
- List: linux-next
- Page: https://ratatoskr.run/linux-next/2012/03/3831360
- Thread: https://ratatoskr.run/linux-next/2012/03/3831344/t.md

```text
On Tue, Mar 6, 2012 at 8:19 PM, Mark Salter [ref] wrote:
> commit b7b2a0afacada237005068294cb0ccc49d32889e
> Author: Siddhesh Poyarekar [ref]
> Date:   Tue Mar 6 11:17:12 2012 +1100
>
>    procfs: mark thread stack correctly in proc/<pid>/maps
>
>
> This patch still breaks nommu builds. The previous syntax issue has been
> resolved, but now I see a link error:
>
> fs/built-in.o: In function `nommu_vma_show':
> task_nommu.c:(.text+0x564a0): undefined reference to `vm_is_stack'
> make[1]: *** [.tmp_vmlinux1] Error 1
>

The function is defined in mm/memory.c and I realized now that it is
not built when !CONFIG_MMU. There needs to be a copy of these
functions in nommu.c as well. I'll test the build and send a patch.


-- 
Siddhesh Poyarekar
http://siddhesh.in
```
