Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363685 - [patch] sys-freebsd/freebsd-lib-8.0 fails to compile on Gentoo/FBSD (AMD64)
Summary: [patch] sys-freebsd/freebsd-lib-8.0 fails to compile on Gentoo/FBSD (AMD64)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: AMD64 FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 363717
  Show dependency tree
 
Reported: 2011-04-15 11:35 UTC by Yuta SATOH
Modified: 2011-07-07 13:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
files/freebsd-lib-new_as.patch (freebsd-lib-new_as2.patch,4.30 KB, text/plain)
2011-04-15 11:37 UTC, Yuta SATOH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2011-04-15 11:35:54 UTC
The following message is displayed and fails to compile on Gentoo/FBSD (AMD64).


x86_64-gentoo-freebsd8.0-gcc -fpic -DPIC  -O2 -pipe -fno-strict-aliasing -isystem '/var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/include_proper'  -I/var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/lib/msun/ld80 -I/var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/lib/msun/src -I/var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/lib/msun/../libc/include  -I/var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/lib/msun/../libc/amd64 -std=gnu99 -fstack-protector -Wsystem-headers -Wno-pointer-sign -c /var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/lib/msun/src/s_fma.c -o s_fma.So
/usr/include/fenv.h: Assembler messages:
/usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw'
/usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw'
/usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw'
*** Error code 1
/usr/include/fenv.h: Assembler messages:
/usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw'
/usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw'
/usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw'
*** Error code 1
3 errors
*** Error code 2
1 error


Reproducible: Always

Steps to Reproduce:
1.cd /usr/portage/sys-freebsd/freebsd-lib
2.ebuild freebsd-lib-8.0.ebuild compile
3.
Comment 1 Yuta SATOH 2011-04-15 11:37:21 UTC
Created attachment 270051 [details]
files/freebsd-lib-new_as.patch

New freebsd-lib-new_as.patch
Comment 2 Alexis Ballier gentoo-dev 2011-07-07 03:06:16 UTC
does it still fail with 8.2 ?
Comment 3 Yuta SATOH 2011-07-07 10:40:47 UTC
(In reply to comment #2)
> does it still fail with 8.2 ?

No. 8.2 doesn't have this problem. 
This problem was solved with FreeBSD 8.1. 

FYI,
http://svnweb.freebsd.org/base/release/8.1.0/lib/msun/amd64/fenv.h?limit_changes=0&view=log&pathrev=218822
Comment 4 Alexis Ballier gentoo-dev 2011-07-07 13:53:09 UTC
good, closing then, thx :)