Public bug reported:

tree does not build for armel and fails with -

gcc -g -Wall -fomit-frame-pointer -DLINUX -D_LARGEFILE64_SOURCE 
-D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2  -c -o tree.o tree.c
tree.c: In function 'listdir':
tree.c:749:8: warning: ignoring return value of 'system', declared with 
attribute warn_unused_result [-Wunused-result]
tree.c: In function 'main':
tree.c:541:9: warning: ignoring return value of 'chdir', declared with 
attribute warn_unused_result [-Wunused-result]
tree.c: In function 'listdir':
tree.c:1788:1: internal compiler error: in insert_vi_for_tree, at 
tree-ssa-structalias.c:2740

However, if I change rules for CFLAGS as 
CFLAGS = -g -Wall -fomit-frame-pointer -DLINUX -D_LARGEFILE64_SOURCE 
-D_FILE_OFFSET_BITS=32
then it builds fine and runs.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)"

** Affects: tree (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/904763

Title:
  Unable to build tree for armel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tree/+bug/904763/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to