Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Packages and -fvisibility-inles-hidden

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
addeman
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Thu Nov 04, 2004 4:12 pm
Location: Stockholm, Sweden
Contact:
Contact addeman
Website

Packages and -fvisibility-inles-hidden

  • Quote

Post by addeman » Sun Oct 19, 2008 12:25 pm

Hello,

I recently started to build a new gentoo system (in a chroot) for my laptop. I use ~amd64 and i wanted to experiment a little with my CXXFLAGS. I have this in make.conf

Code: Select all

CFLAGS="-O2 -pipe -march=core2 -fomit-frame-pointer"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden -fvisibility=hidden"
As emerge correctly warns, to flags may break packages, here is a list so far of packages that breaks:
  • libusb
    libpcre
    exiv2
    cln
    htdig
    qca
    poppler
    poppler-bindings
    texlive-core ( maybe the rest of texlive-* too, i didn't bother to try)
    libqalculate
    libmodplug (xine-lib failes)
    clucene (strigi fails)
It's actually the flag -fvisibility-inlines-hidden that's causing this, since it removes the declaration and definition of functions declared 'inline'. For most this is well and good, but packages that fails uses pointers to inline functions. I don't think that is really "cosher"... Is there any other coding style that would trigger this failure? Why would someone want a pointer to an inline function?

I really wish for 'per package C(XX)FLAGS' feature ;)

Best regards
addeman
Top
Post Reply
1 post • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic