First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 108275
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Karol Wojtaszek (RETIRED) <sekretarz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Claudio Di Martino <claudio@claudio.csita.unige.it>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
firebird-1.5.2-build.patch firebird-1.5.2-build.patch patch SpanKY 2006-01-03 19:51 0000 2.08 KB Details | Diff
firebird-cflags-fix.patch patch for firebird-2.1.0.16780_beta2-r2 patch Andrzej Rybczak 2007-12-06 17:36 0000 625 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 108275 depends on: Show dependency tree
Bug 108275 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: 2005-10-06 06:41 0000
I'm trying to make an ebuild of firebird 1.5.2 with reduced optimizazions since
I'm having problems with the standard emerged executables and was told that the
symptoms could possibly be caused by some optimization issue.

No matter what I did during the ebuild the configuration process added CFLAGS
containing the -O3 switch.
Since gcc takes the last -O switch on the command line I believe it stills
produces over optimized code.

Here is a tipical line I get while building:

g++ -O0 -march=pentium4 -pipe -fomit-frame-pointer -O0 -march=pentium4 -pipe
-fomit-frame-pointer -I../src/include/gen -I../src/include -ggdb -O3
-march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX
-pipe -MMD -fPIC  -DPROD_BUILD -O0 -march=pentium4 -pipe -fomit-frame-pointer
-I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mcpu=i686
-fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC 
-DPROD_BUILD -I../src/include/gen -I../src/include -ggdb -O3 -march=i586
-mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD
-fPIC  -DPROD_BUILD -DBOOT_BUILD -I../src/include/gen -I../src/include -ggdb
-O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG
-DLINUX -pipe -MMD -fPIC  -DPROD_BUILD -c ../src/jrd/os/posix/config_root.cpp
-o ../temp/libfbstatic/jrd/os/posix/config_root.o

------- Comment #1 From SpanKY 2006-01-03 19:51:53 0000 -------
Created an attachment (id=76125) [edit]
firebird-1.5.2-build.patch

it also kills builds on arches like arm because of the retarded flags being
forced

this patch should do it

------- Comment #2 From Karol Wojtaszek (RETIRED) 2006-01-24 14:12:16 0000 -------
Tested and fixed in portage, thanks vapier.

------- Comment #3 From Andrzej Rybczak 2007-12-06 17:36:46 0000 -------
Created an attachment (id=137891) [edit]
patch for firebird-2.1.0.16780_beta2-r2

patch for firebird-2.1.0.16780_beta2-r2 removing optimize flags.

First Last Prev Next    No search results available      Search page      Enter new bug