Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 248276
Alias:
Product:
Component:
Status: RESOLVED
Resolution: UPSTREAM
Assigned To: Keri Harris <keri@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nikolay Orlyuk <virkony@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config.log.bz2 mozart-1.4.0.20080704/platform/dss/config.log application/x-bzip2 Nikolay Orlyuk 2008-11-23 10:12 0000 6.45 KB Details
emerge-info.txt.bz2 emerge --info application/x-bzip2 Nikolay Orlyuk 2008-11-27 08:01 0000 3.51 KB Details
loadsaveenv.bz2 dev-lang-mozart-1.4.0/temp/loadsaveenv application/x-bzip2 Nikolay Orlyuk 2008-11-27 08:02 0000 31.61 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 248276 depends on: Show dependency tree
Bug 248276 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-11-23 10:07 0000
During building mozart-1.4.0.20080704/platform/dss configure generates
-march=x86_64

According to platform/dss/configure.ac that surely will lead into problems on
FreeBSD and possibly on others, except of host_cpu=sparc/ultrasparc/powerpc



Reproducible: Always

Steps to Reproduce:
under amd64
1. ebuild \=dev-lang/mozart-1.4.0

Actual Results:  
gmake[2]: Entering directory
`/var/tmp/paludis/dev-lang-mozart-1.4.0/work/mozart-1.4.0.20080704/platform/dss'
x86_64-pc-linux-gnu-g++ -march=x86_64 -mtune=x86_64 -O3 -fomit-frame-pointer
-funsigned-char -I. -I./include -fno-exceptions -Winline -Weffc++ -Wall
-Wold-style-cast -Woverloaded-virtual -Wshadow -fPIC   -c -o base.o
./src/base.cc
x86_64-pc-linux-gnu-g++ -march=x86_64 -mtune=x86_64 -O3 -fomit-frame-pointer
-funsigned-char -I. -I./include -fno-exceptions -Winline -Weffc++ -Wall
-Wold-style-cast -Woverloaded-virtual -Wshadow -fPIC   -c -o msl_timers.o
./src/msl_timers.cc
x86_64-pc-linux-gnu-g++ -march=x86_64 -mtune=x86_64 -O3 -fomit-frame-pointer
-funsigned-char -I. -I./include -fno-exceptions -Winline -Weffc++ -Wall
-Wold-style-cast -Woverloaded-virtual -Wshadow -fPIC   -c -o mslBase.o
./src/mslBase.cc
./src/base.cc:1: error: bad value (x86_64) for -march= switch
./src/base.cc:1: error: bad value (x86_64) for -mtune= switch
./src/mslBase.cc:1: error: bad value (x86_64) for -march= switch
./src/mslBase.cc:1: error: bad value (x86_64) for -mtune= switch
gmake[2]: *** [base.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [mslBase.o] Error 1
./src/msl_timers.cc:1: error: bad value (x86_64) for -march= switch
./src/msl_timers.cc:1: error: bad value (x86_64) for -mtune= switch
gmake[2]: *** [msl_timers.o] Error 1
gmake[2]: Leaving directory
`/var/tmp/paludis/dev-lang-mozart-1.4.0/work/mozart-1.4.0.20080704/platform/dss'


Expected Results:  
normal build

small patch for platform/dss/configure.ac is needed

------- Comment #1 From Nikolay Orlyuk 2008-11-23 10:12:12 0000 -------
Created an attachment (id=172917) [details]
mozart-1.4.0.20080704/platform/dss/config.log

------- Comment #2 From Nikolay Orlyuk 2008-11-23 10:44:06 0000 -------
Sorry, looks like there is something strange. It wouldn't compile under 64bit
even with right -march

./src/msl_msgContainer.cc: In member function 'virtual char*
_msl_internal::MsgCnt::m_stringrep()':
./src/msl_msgContainer.cc:122: error: cast from 'void*' to 'int' loses
precision
./src/msl_msgContainer.cc: In member function 'void
_msl_internal::MsgCnt::m_serialize(_msl_internal::DssWriteByteBuffer*,
_msl_internal::Site*, _msl_internal::MsgnLayerEnv*)':
./src/msl_msgContainer.cc:291: error: cast from 'void*' to 'int' loses
precision
./src/msl_msgContainer.cc: In member function 'virtual int
_msl_internal::MsgCnt::popIntVal()':
./src/msl_msgContainer.cc:410: error: cast from 'void*' to 'int' loses
precision
./src/msl_msgContainer.cc: In member function 'virtual int
_msl_internal::MsgCnt::peekMslMessageType()':
./src/msl_msgContainer.cc:498: error: cast from 'void*' to 'int' loses
precision
gmake[2]: *** [msl_msgContainer.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory
`/var/tmp/paludis/dev-lang-mozart-1.4.0-r1/work/mozart-1.4.0.20080704/platform/dss'

------- Comment #3 From Jeroen Roovers 2008-11-26 17:04:43 0000 -------
Please post your `emerge --info' or similarly adequate OS info too.

------- Comment #4 From Keri Harris 2008-11-27 05:36:21 0000 -------
Thanks for the bug report. mozart uses 32 bit tagged references, so it's not
supported on 64 bit architectures. I've added -amd64 -ppc64 to KEYWORDS to
reflect this.

Hopefully upstream will eventually port this to 64 bit architectures.

------- Comment #5 From Nikolay Orlyuk 2008-11-27 08:01:02 0000 -------
Created an attachment (id=173567) [details]
emerge --info

Sorry, don't know how to produce the same info for paludis.
USE flags used for mozart: doc -emacs gdbm -static tcl threads tk

CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j3"
CFLAGS="-O3 -march=core2 -mtune=core2 -msse -msse2 -msse3
-maccumulate-outgoing-args -minline-all-stringops -pipe"
CXXFLAGS="${CFLAGS}"

------- Comment #6 From Nikolay Orlyuk 2008-11-27 08:02:05 0000 -------
Created an attachment (id=173569) [details]
dev-lang-mozart-1.4.0/temp/loadsaveenv

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug