NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbarm/48132: devel/tradcpp build broken on evbearmv6hf-el 6.99.23



Thanx david,

From: David Holland <dholland-bugs%NetBSD.org@localhost>
Subject: Re: port-evbarm/48132: devel/tradcpp build broken on evbearmv6hf-el 
6.99.23
Date: Sun, 18 Aug 2013 02:55:00 +0000 (UTC)

I've check the compile result again.
I have evbearmv6hf,but it compiled with -msoft-float option!! 

Original: 
gcc -msoft-float -std=gnu99  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings 
-Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra 
-Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare 
-Wformat=2   -Wno-format-zero-length  -Werror     -c    main.c

With hard-float option,I can make package. 
gcc -marm -mthumb-interwork  -mfloat-abi=hard -mhard-float -std=gnu99  -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  
-Wno-traditional  -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow 
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare 
-Wold-style-definition -Wsign-compare -Wformat=2   -Wno-format-zero-length  
-Werror     -c    main.c

> The following reply was made to PR port-evbarm/48132; it has been noted by 
> GNATS.
> 
> From: David Holland <dholland-bugs%netbsd.org@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: port-evbarm/48132: devel/tradcpp build broken on evbearmv6hf-el
>  6.99.23
> Date: Sun, 18 Aug 2013 02:50:31 +0000
> 
>  On Sat, Aug 17, 2013 at 01:10:00AM +0000, jun%soum.co.jp@localhost wrote:
>   > ===> Building for tradcpp-0.4
>   > #      link  tradcpp-0.4/tradcpp
>   > gcc   -Wl,-R/usr/pkg/lib     -o tradcpp  main.o files.o directive.o 
> eval.o macr output.o place.o array.o utils.o  -Wl,-rpath-link,/lib  -L=/lib   
>   
>   > ld: error: tradcpp uses VFP register arguments, main.o does not
>   > ld: failed to merge target specific data of file main.o
>  
>  What causes this behavior in ld?
>  
>  tradcpp uses USE_BSD_MAKEFILE so it should not build differently from
>  anything else, and it doesn't do anything particularly special of its
>  own that seems likely to cause this sort of problem.
>  
>  -- 
>  David A. Holland
>  dholland%netbsd.org@localhost
>  


Home | Main Index | Thread Index | Old Index